|
OpenTTD NoAI API
|
Class that handles all log related functions. More...
Data Structures | |
| struct | LogData |
| Internal representation of the log-data inside the AI. More... | |
Public Types | |
| enum | AILogType { LOG_SQ_ERROR = 0, LOG_ERROR = 1, LOG_SQ_INFO = 2, LOG_WARNING = 3, LOG_INFO = 4 } |
Log levels; The value is also feed to DEBUG() lvl. More... | |
Static Public Member Functions | |
| static void | Info (const char *message) |
| Print an Info message to the logs. | |
| static void | Warning (const char *message) |
| Print a Warning message to the logs. | |
| static void | Error (const char *message) |
| Print an Error message to the logs. | |
| static void | FreeLogPointer () |
| Free the log pointer. | |
Friends | |
| class | AIController |
Class that handles all log related functions.
| enum AILog::AILogType |
| static void AILog::Error | ( | const char * | message | ) | [static] |
Print an Error message to the logs.
| message | The message to log. |
| static void AILog::FreeLogPointer | ( | ) | [static] |
Free the log pointer.
| static void AILog::Info | ( | const char * | message | ) | [static] |
Print an Info message to the logs.
| message | The message to log. |
| static void AILog::Warning | ( | const char * | message | ) | [static] |
Print a Warning message to the logs.
| message | The message to log. |
1.7.3