Logger(String, Object, LogType, Int32)

Logs the text representation of the specified object using the specified format information.

Declaration
public static void Logger(string format, object arg0, LogType logType, int logLevel)
Example
engine.Logger("The temperature is {0}°C.", 20.4, LogType.Information, -1);
Result
Information|-1|ID0|Logger_1_Arg_Test|The temperature is 20.4°C.
Type
Name
Description

format

A composite format string.

arg0

An object to write using format parameter.

logType

Specifies the log type.

logLevel

Specifies the log level.

Last updated