This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Unigine::Log Class

Unigine Log.

To use this class, include the UnigineLog.h file.

Unigine::Log Class

Members


static void message (const char * format, ...)

Prints a message to the console and the log file.

Arguments

  • const char * format - Message to print. It is a format string, which is similar to the format string for printf() in C.
  • ... - Arguments, multiple allowed.

static void static UNIGINE_API void warning (const char * format, ...)

Prints a warning to the console and the log file.

Arguments

  • const char * format - Warning to print. It is a format string, which is similar to the format string for printf() in C.
  • ... - Arguments, multiple allowed.

static void static UNIGINE_API void static UNIGINE_API void error (const char * format, ...)

Prints an error message to the console and the log file.

Arguments

  • const char * format - Error message to print. It is a format string, which is similar to the format string for printf() in C.
  • ... - Arguments, multiple allowed.

static void static UNIGINE_API void static UNIGINE_API void static UNIGINE_API void fatal (const char * format, ...)

Prints a fatal error message to the log file and immediately quit the engine.

Arguments

  • const char * format - Fatal error message to print. It is a format string, which is similar to the format string for printf() in C.
  • ... - Arguments, multiple allowed.
Last update: 2017-07-03
Build: ()