Struct LoggerConfig
Define options to configure a Logger
Loosely inspired from ocean
struct LoggerConfig
;
Fields
Name | Type | Description |
---|---|---|
additive
|
bool | Whether this logger should be additive or not |
buffer_size
|
ulong | Buffer size of the buffer output |
console
|
bool | Whether to use console output or not |
file
|
string | Whether to use file output and if, which file path |
level
|
dtext | Level to set the logger to (messages at a lower level won't be printed) |
name
|
string | Name of the logger to configure |
propagate
|
bool | Whether to propagate that level to the children
Default to true as this is the expected behavior for most users
|