Unigine.Log Class
This class represents an interface for printing various types of messages to the console and to the log file. It can be useful to monitor overall progress of application execution and report errors which can be helpful in the process of debugging.
Log Class
Members
void error(string str, ... )
Prints an error message to the console and the log file.Arguments
- string str - Error message to print.
- ... - Arguments, multiple allowed.
void fatal(string str, ... )
Prints a fatal error message to the log file and quits the engine.Arguments
- string str - Fatal error message to print.
- ... - Arguments, multiple allowed.
void message(string str, ... )
Prints a message to the console and the log file.Arguments
- string str - Message to print.
- ... - Arguments, multiple allowed.
void warning(string str, ... )
Prints a warning to the console and the log file.Arguments
- string str - Warning to print.
- ... - Arguments, multiple allowed.
Last update: 2018-08-10
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)