11#ifndef __AUDACITY_LOGGER__
12#define __AUDACITY_LOGGER__
30 bool SaveLog(
const wxString &fileName)
const;
35 wxString GetLog(
int count = 0);
38 const wxString &
GetBuffer()
const {
return mBuffer; }
40 void Flush()
override;
51 void DoLogText(
const wxString & msg)
override;
AudacityLogger is a thread-safe logger class.
~AudacityLogger() override
const wxString & GetBuffer() const
Get all the accumulated text since program start or last ClearLog()
std::function< bool() > Listener
Type of function called by Flush.
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.