![]() |
Blamite Game Engine - Keystone
00305.01.23.21.0442.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Namespace containing anything related to the Keystone logger. More...
Functions | |
KEYSTONE void | LogEvent (std::string message) |
Logs an event to Keystone. More... | |
KEYSTONE void | LogEvent (std::string message, BlamLogLevel log_level) |
Logs an event to Keystone. More... | |
KEYSTONE void | LogEvent (BlamBasicLogMessage message) |
Logs an event to Keystone. More... | |
KEYSTONE void | AddReceiver (BlamLogReceiver *receiver) |
Registers a new log receiver, which will be notified whenever a new message is logged. More... | |
KEYSTONE void | RemoveReceiver (BlamLogReceiver *receiver) |
Unregisters a log receiver. More... | |
Namespace containing anything related to the Keystone logger.
void BlamKeystone::Logger::AddReceiver | ( | BlamLogReceiver * | receiver | ) |
Registers a new log receiver, which will be notified whenever a new message is logged.
receiver | - The new receiver to add. |
void BlamKeystone::Logger::LogEvent | ( | BlamBasicLogMessage | message | ) |
Logs an event to Keystone.
The message will be printed to stdout if nothing is hooked into it. Otherwise, the message will be forwarded to any hooks that have hooked into the library.
message | - The message data to write to the log. |
void BlamKeystone::Logger::LogEvent | ( | std::string | message | ) |
Logs an event to Keystone.
The message will be printed to stdout if nothing is hooked into it. Otherwise, the message will be forwarded to any hooks that have hooked into the library.
message | - The message to write to the log. |
void BlamKeystone::Logger::LogEvent | ( | std::string | message, |
BlamLogLevel | log_level | ||
) |
Logs an event to Keystone.
The message will be printed to stdout if nothing is hooked into it. Otherwise, the message will be forwarded to any hooks that have hooked into the library.
message | - The message to write to the log. |
log_level | - The severity of the log message. See #BlamLogLevel for details. |
void BlamKeystone::Logger::RemoveReceiver | ( | BlamLogReceiver * | receiver | ) |
Unregisters a log receiver.
The receiver will no longer be notified when a message is logged.
receiver | - The receiver to remove. |