A global helper class for system-wide logging.

This class is not inside any namespace.

Methods

logMessage

void GlobalLogger::logMessage(const char *message)

Writes a message to the global log.

message

The message to write.

The message to write.

ParameterTypeDescription
messageconst char *The message to write.

logMessage

bool GlobalLogger::logMessage(const char *message, int severity)

Writes a formatted message to the global log with a severity level.

This is an overloaded method.

message

The message to write.

The documentation for this overloaded method is missing the

tag

for severity and the

tag.

This is an overloaded method.

The message to write.

The documentation for this overloaded method is missing the

for severity and the

tag.

ParameterTypeDescription
messageconst char *The message to write.
severityint

forceFlush

void GlobalLogger::forceFlush()

Completely undocumented method returning void.