These three internal functions are responsible for the actual logging to output stream,
The functions accept variadic parameters, the first 3 parameters are compulsory and the followed X parameters are for the vfprintf function for formatting. The first parameter is the output stream FILE *
, the second parameters is the flags to customize the outputs, the third parameter is the fmt to processes the variadic values.
LogaxLogger
struct allows logging properties and output stream to be shared across function calls, it internally uses the 3 functions above to output the log. The special feature of LogaxLogger is the callback. On new log entry all the registered callbacks are invoked with the log event.
See the pages at how it works for more explanation.
(too lazy to continue)