GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing docs.wxpython.org — wx.LogFormatter — wxPython 4.3.2 Docs
|
The default constructor does nothing. |
|
This function creates the full log message string. |
Class API¶Possible constructors:
LogFormatter() -> None
LogFormatter class is used to format the log messages.
The default constructor does nothing.
None
This function creates the full log message string.
Override it to customize the output string format.
level (wx.LogLevel) – The level of this log record, e.g. wx.LOG_Error .
msg (string) – The log message itself.
info (wx.LogRecordInfo) – All the other information (such as time, component, location…) associated with this log record.
str
The formatted message.
Note
Time stamping is disabled for Visual C++ users in debug builds by default because otherwise it would be impossible to directly go to the line from which the log message was generated by simply clicking in the debugger window on the corresponding error message. If you wish to enable it, override FormatTime .