|
CT_NODISCARD CT_NOTIFY_API logger_t * | logger_new (arena_t *arena) |
| create a new logger More...
|
|
CT_NODISCARD CT_NOTIFY_API typevec_t * | logger_get_events (const logger_t *logs) |
| get the events from the logger More...
|
|
CT_NODISCARD CT_NOTIFY_API bool | logger_has_errors (const logger_t *logs, notify_rules_t rules) |
| check if the logger has any fatal errors More...
|
|
CT_NOTIFY_API void | logger_reset (logger_t *logs) |
| reset the loggers messages More...
|
|
CT_NODISCARD CT_NOTIFY_API arena_t * | logger_get_arena (const logger_t *logs) |
|
CT_NOTIFY_API event_builder_t | msg_notify (INOUT_NOTNULL logger_t *logs, const diagnostic_t *diagnostic, const node_t *node, STA_FORMAT_STRING const char *fmt,...) |
| notify the logger of a new message More...
|
|
CT_NOTIFY_API event_builder_t | msg_vnotify (INOUT_NOTNULL logger_t *logs, const diagnostic_t *diagnostic, const node_t *node, const char *fmt, va_list args) |
| notify the logger of a new message More...
|
|
CT_NOTIFY_API void | msg_append (event_builder_t builder, const node_t *node, STA_FORMAT_STRING const char *fmt,...) |
| append additional information to a message More...
|
|
CT_NOTIFY_API void | msg_vappend (event_builder_t builder, const node_t *node, const char *fmt, va_list args) |
| append additional information to a message More...
|
|
CT_NOTIFY_API void | msg_note (event_builder_t builder, STA_FORMAT_STRING const char *fmt,...) |
| add a note to an existing message More...
|
|
CT_NOTIFY_API void | msg_vnote (event_builder_t builder, const char *fmt, va_list args) |
| add a note to an existing message More...
|
|