|
Concord - C Discord API library
A Discord API wrapper library written in C
|
Main logging context structure. More...
#include <logmod.h>
Data Fields | |
| const char * | application_id |
| const struct logmod_logger * | loggers |
| const size_t | length |
| const size_t | real_length |
| long | counter |
| const struct logmod_options | default_options |
| logmod_lock | lock |
Main logging context structure.
Contains the global state for a logging context
| const char* logmod::application_id |
Application identifier
| const struct logmod_logger* logmod::loggers |
Array of loggers
| const size_t logmod::length |
Current number of loggers
| const size_t logmod::real_length |
Maximum capacity of loggers array
| long logmod::counter |
Global log message counter
| const struct logmod_options logmod::default_options |
Default options for new loggers
| logmod_lock logmod::lock |
Lock function for thread safety