cohtml.LogWriter
A class implementing the ILogWriter interface. Responsible for outputting logs provided by the LogHandler to the Unity3D console.
Inherits from cohtml.ILogWriter
Public Functions
Name | |
---|---|
void | Log(Severity severity, string message) Logs the provided message with the given severity in Unity3D’s console. |
void | Log(string message) Log an info message to the implemented LogWriter instance. |
void | LogWarning(string message) Log a warning message to the implemented LogWriter instance. |
void | LogError(string message) Log an error message to the implemented LogWriter instance. |
Public Properties
Name | |
---|---|
ILogWriter | Writer Gets a Singleton instance of the ILogWriter. Sets this instance to a value. |
Public Functions Documentation
function Log
void Log(
Severity severity,
string message
)
Logs the provided message with the given severity in Unity3D’s console.
Reimplements: cohtml.ILogWriter.Log
function Log
static void Log(
string message
)
Log an info message to the implemented LogWriter instance.
function LogWarning
static void LogWarning(
string message
)
Log a warning message to the implemented LogWriter instance.
function LogError
static void LogError(
string message
)
Log an error message to the implemented LogWriter instance.
Public Property Documentation
property Writer
static ILogWriter Writer;
Gets a Singleton instance of the ILogWriter. Sets this instance to a value.