Concord - C Discord API library
A Discord API wrapper library written in C
logmod Struct Reference

Main logging context structure. More...

#include <logmod.h>

Collaboration diagram for logmod:
[legend]

Data Fields

const char * application_id
 
const struct logmod_loggerloggers
 
const size_t length
 
const size_t real_length
 
long counter
 
const struct logmod_options default_options
 
logmod_lock lock
 

Detailed Description

Main logging context structure.

Contains the global state for a logging context

Field Documentation

◆ application_id

const char* logmod::application_id

Application identifier

◆ loggers

const struct logmod_logger* logmod::loggers

Array of loggers

◆ length

const size_t logmod::length

Current number of loggers

◆ real_length

const size_t logmod::real_length

Maximum capacity of loggers array

◆ counter

long logmod::counter

Global log message counter

◆ default_options

const struct logmod_options logmod::default_options

Default options for new loggers

◆ lock

logmod_lock logmod::lock

Lock function for thread safety


The documentation for this struct was generated from the following file: