Class FileLogger
Plain-text based logger for logging to regular files or stdout/stderr
Constructors
Name | Description |
---|---|
this
(info_file, diag_file)
|
|
this
(filename)
|
Fields
Name | Type | Description |
---|---|---|
format
|
FileLogger | |
infoFormat
|
FileLogger | |
useColors
|
bool | Use escape sequences to color log output. |
minLevel
|
LogLevel | |
multilineLogger
|
bool | Whether the logger can handle multiple lines in a single beginLine/endLine. |
Methods
Name | Description |
---|---|
beginLine
(msg)
|
|
endLine
()
|
Finalizes a log line. |
put
(text)
|
Writes part of a log line message. |
acceptsLevel
(value)
|
|
beginLine
(line_info)
|
Starts a new log line. |
log
(line)
|
Legacy logging interface relying on dynamic memory allocation. |
Enums
Name | Description |
---|---|
Format
|
The log format used by the FileLogger |