liblogax
Public Attributes | List of all members
logax_logger_s Struct Reference

#include <logax.h>

Public Attributes

int flags
 
FILE * output_stream
 
logax_callback callbacks [LOGAX_MAX_CALLBACKS]
 

Detailed Description

The struct that can be used to share stream and flags across log events. The fields are optionals. If the macro LOGAX_NO_OUTPUT_STREAM is defined the output_stream field will not be compiled, and if the macro LOGAX_LOGGER_NO_CALLBACK is defined all callback related operatioon will be disabled in the library.

Member Data Documentation

◆ callbacks

logax_callback logax_logger_s::callbacks[LOGAX_MAX_CALLBACKS]

The array that holds the callbacks that was registered to self logax_logger_s

◆ flags

int logax_logger_s::flags

The field that holds the flags/option bits

◆ output_stream

FILE* logax_logger_s::output_stream

The FILE* stream to write the log events


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