This page has been translated automatically.
Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Engine Classes
Node-Related Classes
Rendering-Related Classes
Physics-Related Classes
Bounds-Related Classes
GUI-Related Classes
Controls-Related Classes
Pathfinding-Related Classes
Utility Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Log Class (C++)

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: 03.07.2017
Build: ()