OpenTTD GameScript API: GSLog Class Reference

OpenTTD GameScript API 13.0-RC2

Static Public Member Functions
GSLog Class Reference

Class that handles all log related functions. More...

Inheritance diagram for GSLog:

## Static Public Member Functions
static void | Info (const char *message)
| Print an Info message to the logs. More...
static void | Warning (const char *message)
| Print a Warning message to the logs. More...
static void | Error (const char *message)
| Print an Error message to the logs. More...

## Detailed Description

Class that handles all log related functions.

## Member Function Documentation

## ◆ Error()

static void GSLog::Error | ( | const char * | message | ) |
| static

Print an Error message to the logs.

Parameters

  message | The message to log.

Note
  Special characters such as U+0000-U+0019 and U+E000-U+E1FF are not supported and removed or replaced by a question mark. This includes newlines and tabs.

## ◆ Info()

static void GSLog::Info | ( | const char * | message | ) |
| static

Print an Info message to the logs.

Parameters

  message | The message to log.

Note
  Special characters such as U+0000-U+0019 and U+E000-U+E1FF are not supported and removed or replaced by a question mark. This includes newlines and tabs.

## ◆ Warning()

static void GSLog::Warning | ( | const char * | message | ) |
| static

Print a Warning message to the logs.

Parameters

  message | The message to log.

Note
  Special characters such as U+0000-U+0019 and U+E000-U+E1FF are not supported and removed or replaced by a question mark. This includes newlines and tabs.