Go to the source code of this file.
|
STA_DECL logger_t * | logger_new (arena_t *arena) |
| create a new logger More...
|
|
STA_DECL typevec_t * | logger_get_events (const logger_t *logs) |
| get the events from the logger More...
|
|
STA_DECL bool | logger_has_errors (const logger_t *logs, notify_rules_t rules) |
| check if the logger has any fatal errors More...
|
|
STA_DECL void | logger_reset (logger_t *logs) |
| reset the loggers messages More...
|
|
STA_DECL arena_t * | logger_get_arena (const logger_t *logs) |
|
STA_DECL event_builder_t | msg_notify (logger_t *logs, const diagnostic_t *diagnostic, const node_t *node, const char *fmt,...) |
|
STA_DECL event_builder_t | msg_vnotify (logger_t *logs, const diagnostic_t *diagnostic, const node_t *node, const char *fmt, va_list args) |
|
STA_DECL void | msg_append (event_builder_t builder, const node_t *node, const char *fmt,...) |
|
STA_DECL void | msg_vappend (event_builder_t builder, const node_t *node, const char *fmt, va_list args) |
| append additional information to a message More...
|
|
STA_DECL void | msg_note (event_builder_t builder, const char *fmt,...) |
|
STA_DECL void | msg_vnote (event_builder_t builder, const char *fmt, va_list args) |
| add a note to an existing message More...
|
|
STA_DECL const char * | severity_string (severity_t severity) |
| get the name of a severity More...
|
|
◆ CHECK_BUILDER
#define CHECK_BUILDER |
( |
|
bld | ) |
|
Value:
CTASSERT((bld).arena != NULL);
#define CTASSERT(expr)
assert a condition, prints the condition as a message
Definition at line 153 of file notify.c.
◆ SEVERITY
#define SEVERITY |
( |
|
id, |
|
|
|
name |
|
) |
| [id] = (name), |
◆ msg_append()
◆ msg_note()
◆ msg_notify()
◆ msg_vnotify()
◆ severity_string()
get the name of a severity
- Parameters
-
severity | the severity to get the name of |
- Returns
- the name of
severity
Definition at line 216 of file notify.c.