![]() |
Blamite Game Engine - blam!
00315.05.27.21.0015.blamite
The core library for the Blamite Game Engine.
|
Namespace containing things related to the Blamite Logger. More...
Namespaces | |
Internal | |
Internal functions used by the logger. | |
Queue | |
Things relating to the logger's message Queue. | |
Functions | |
BLAM void | SetLoggerReady () |
Marks all reports as ready for use. More... | |
BLAM BlamReport * | GetReport (BlamReportType type) |
Retrieves report data with the specified type. More... | |
BLAM std::string | GetSeverityCSSClass (BlamLogLevel severity) |
Gets the CSS class name for the specified severity. More... | |
BLAM void | PrepareLogger () |
Prepares the logger for use. More... | |
BLAM void | LogEventAsync (std::string message) |
Logs a message to the log and/or console asynchronously. More... | |
BLAM void | LogEvent (std::string message) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (std::string message, bool show_timestamp) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (std::string message, BlamReportType report_type) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (std::string message, bool show_timestamp, BlamLogLevel severity) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (std::string message, bool show_timestamp, BlamLogLevel severity, short r, short g, short b) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (std::string message, BlamLogLevel severity) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (std::string message, BlamLogLevel severity, BlamReportType report_type) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (std::string message, BlamLogLevel severity, BlamLogVisibility visibility) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (std::string message, BlamColor color) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEvent (BlamLogMessage message) |
Logs a message to the log and/or console. More... | |
BLAM void | LogEventForce (std::string message, BlamLogLevel severity) |
Forcibly logs a message to the log and/or console. More... | |
BLAM void | LogEventForce (std::string message, BlamColor color) |
Forcibly logs a message to the log and/or console. More... | |
BLAM void | LogEventForce (std::string message, BlamLogLevel severity, BlamLogVisibility visibility) |
Forcibly logs a message to the log and/or console. More... | |
BLAM void | LogEventForce (std::string message, BlamLogLevel severity, BlamReportType report_type) |
Forcibly logs a message to the log and/or console. More... | |
BLAM void | LogEventForce (BlamLogMessage message) |
Forcibly logs a message to the log and/or console. More... | |
Namespace containing things related to the Blamite Logger.
BlamReport * Blam::Logger::GetReport | ( | BlamReportType | type | ) |
Retrieves report data with the specified type.
type | - The report to get information for. |
nullptr
. std::string Blam::Logger::GetSeverityCSSClass | ( | BlamLogLevel | severity | ) |
Gets the CSS class name for the specified severity.
severity | - The severity to get a CSS class for. |
sev_unknown_generic
. void Blam::Logger::LogEvent | ( | BlamLogMessage | message | ) |
Logs a message to the log and/or console.
message | - The raw message data to write to the log. |
void Blam::Logger::LogEvent | ( | std::string | message | ) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
void Blam::Logger::LogEvent | ( | std::string | message, |
BlamColor | color | ||
) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
color | - The color override of the message. |
void Blam::Logger::LogEvent | ( | std::string | message, |
BlamLogLevel | severity | ||
) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
severity | - The severity of the message. |
void Blam::Logger::LogEvent | ( | std::string | message, |
BlamLogLevel | severity, | ||
BlamLogVisibility | visibility | ||
) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
severity | - The severity of the message. |
visibility | - The visibility of the message. |
void Blam::Logger::LogEvent | ( | std::string | message, |
BlamLogLevel | severity, | ||
BlamReportType | report_type | ||
) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
severity | - The severity of the message. |
report_type | - The report that the message should be delivered to. |
void Blam::Logger::LogEvent | ( | std::string | message, |
BlamReportType | report_type | ||
) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
report_type | - The report that the message should be delivered to. |
void Blam::Logger::LogEvent | ( | std::string | message, |
bool | show_timestamp | ||
) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
show_timestamp | - Whether or not to show the timestamp in the log file. |
void Blam::Logger::LogEvent | ( | std::string | message, |
bool | show_timestamp, | ||
BlamLogLevel | severity | ||
) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
show_timestamp | - Whether or not to show the timestamp in the log file. |
severity | - The severity of the message. |
void Blam::Logger::LogEvent | ( | std::string | message, |
bool | show_timestamp, | ||
BlamLogLevel | severity, | ||
short | r, | ||
short | g, | ||
short | b | ||
) |
Logs a message to the log and/or console.
message | - The message to write to the log. |
show_timestamp | - Whether or not to show the timestamp in the log file. |
severity | - The severity of the message. |
r | - The Red color override of the message. |
g | - The Green color override of the message. |
b | - The Blue color override of the message. |
void Blam::Logger::LogEventAsync | ( | std::string | message | ) |
Logs a message to the log and/or console asynchronously.
message | - The message to write to the log. |
void Blam::Logger::LogEventForce | ( | BlamLogMessage | message | ) |
Forcibly logs a message to the log and/or console.
This will override the automatic duplicate message suppression.
message | - The raw message data to write to the log. |
void Blam::Logger::LogEventForce | ( | std::string | message, |
BlamColor | color | ||
) |
Forcibly logs a message to the log and/or console.
This will override the automatic duplicate message suppression.
message | - The message to write to the log. |
color | - The color override of the message. |
void Blam::Logger::LogEventForce | ( | std::string | message, |
BlamLogLevel | severity | ||
) |
Forcibly logs a message to the log and/or console.
This will override the automatic duplicate message suppression.
message | - The message to write to the log. |
severity | - The severity of the message. |
void Blam::Logger::LogEventForce | ( | std::string | message, |
BlamLogLevel | severity, | ||
BlamLogVisibility | visibility | ||
) |
Forcibly logs a message to the log and/or console.
This will override the automatic duplicate message suppression.
message | - The message to write to the log. |
severity | - The severity of the message. |
visibility | - The visibility of the message. |
void Blam::Logger::LogEventForce | ( | std::string | message, |
BlamLogLevel | severity, | ||
BlamReportType | report_type | ||
) |
Forcibly logs a message to the log and/or console.
This will override the automatic duplicate message suppression.
message | - The message to write to the log. |
severity | - The severity of the message. |
report_type | - The report type this message should be written to. |
void Blam::Logger::PrepareLogger | ( | ) |
Prepares the logger for use.
This file reads the engine configuration, so config should be loaded before calling this.
void Blam::Logger::SetLoggerReady | ( | ) |
Marks all reports as ready for use.
Should be called AFTER script globals are loaded.