#include <Log.h>
Public Types | |
| enum | Type { LT_ALWAYS = 0, LT_ERROR, LT_ASSERT, LT_WARNING, LT_INFO, LT_DEBUG, LT_MAX } |
Static Public Member Functions | |
| static bool | Initialise () |
| static void | Shutdown () |
| Shutdown the log interface. | |
| static void | Message (Type type, const char *format,...) |
| static void | ParseError (const String &filename, int line_number, const char *format,...) |
| static void | PlatformMessage (const char *message) |
| bool Rocket::Core::Log::Initialise | ( | ) | [static] |
Initialises the logging interface.
| void Rocket::Core::Log::Message | ( | Log::Type | type, | |
| const char * | format, | |||
| ... | ||||
| ) | [static] |
Log the specified message via the registered log interface
| [in] | type | Type of message. |
| [in] | format | The message, with sprintf-style parameters. |
| void Rocket::Core::Log::ParseError | ( | const String & | filename, | |
| int | line_number, | |||
| const char * | format, | |||
| ... | ||||
| ) | [static] |
Log a parse error on the specified file and line number.
| [in] | filename | Name of the file with the parse error. |
| [in] | line_number | Line the error occured on. |
| [in] | format | The error message, with sprintf-style parameters. |
| void Rocket::Core::Log::PlatformMessage | ( | const char * | message | ) | [static] |
Low-level platform message. This completely bypasses the log interface and is only used if there was an error talking to the log interface.
| [in] | message | Message to output. |