|
clogger
Version 2.1.1
API Reference for clogger
|
Data structure representing a clogger
More...
Data Fields | |
| const char * | name |
Name of the clogger, such as the project name or module. | |
| void(* | error_callback )(CLoggerLevel level, const char *clogger_name, const char *location) |
Function pointer that calls on an ERROR or CRITICAL level message. | |
| void(* | assert_fail_callback )() |
| Function pointer that calls on an assert failure. | |
| CLoggerConsoleColour | console_colour |
| Colour dictating how the name should display in the console. | |
| CLoggerLevel | log_level |
| The minimum level to log messages. | |
| CLoggerUInt16 | colour_flags |
| Flags to modify the colour. | |
| CLoggerUInt8 | file_opt |
| Flags to determine the file logging options. | |
| const char * | log_file_path |
| File log path. | |
Data structure representing a clogger
This struct is what allows you to configure multiple "logging" instances, with a configurable name, colour, level etc.