15 void initialize(
const char* filename);
18 virtual void consumeMessage(
const char* source,
Category category, uint32_t errorNumber,
const char* message,
const char* filename,
int lineNumber)
override;
21 FILE* outputFile =
nullptr;
#define COGSFOUNDATION_API
Definition: FoundationBase.h:31
Consumer is the base class for objects that want to consume log messages through the LogManager.
Definition: Consumer.h:18
Definition: FileLogger.h:6
Contains logging functionality for the Cogs native library.
Definition: ConsoleLogger.h:5
void consumeMessage(const char *source, Category category, uint32_t errorNumber, const char *filename, int lineNumber, _Printf_format_string_ const char *fmt, va_list argptr)
Forwards the incoming log message to all interested consumers.
Definition: LogManager.cpp:49
Category
Logging categories used to filter log messages.
Definition: LogManager.h:31