23 va_start(arg_list, msg);
24 #if wxCHECK_VERSION(3, 0, 0) && wxUSE_UNICODE 28 ::temp_string.Replace(
_T(
"%s"),
_T(
"%ls"));
29 msg = ::temp_string.wx_str();
40 va_start(arg_list, msg);
41 #if wxCHECK_VERSION(2,9,0) && wxUSE_UNICODE 71 void SetLogger(
Logger* in);
91 enum { max_logs = 32 };
93 typedef std::map<wxString, InstantiatorBase*>
inst_map_t;
105 void ClearLogInternal(
int i);
109 enum { no_index = -1, invalid_log,
stdout_log, app_log, debug_log};
118 size_t SetLog(
Logger* l,
int index = no_index);
119 void DeleteLog(
int i);
121 size_t FindIndex(
Logger* l);
167 bool FilenameRequired(
const wxString& name);
wxString F(const wxChar *msg,...)
sprintf-like function
void DebugLogError(const wxString &msg)
static wxString FormatV(const wxString &format, va_list argptr)
void LogWarning(const wxString &msg, int i=app_log)
void LogToStdOut(const wxString &msg, Logger::level lv=Logger::info)
bool RequiresFilename() const override
The base class for all kinds of loggers, see loggers.h for its derived classes.
void LogError(const wxString &msg, int i=app_log)
wxUSE_UNICODE_dependent wxChar
void DebugLog(wxString cn, int blockSize, int poolSize, int max_refs, int total_refs, int ref_count)
size_t Replace(const wxString &strOld, const wxString &strNew, bool replaceAll=true)
void Log(const wxString &msg, int i=app_log, Logger::level lv=Logger::info)
void DebugLog(const wxString &msg, Logger::level lv=Logger::info)
virtual bool RequiresFilename() const
virtual ~InstantiatorBase()
std::map< wxString, InstantiatorBase * > inst_map_t