Class ConsoleLogger
Logs messages directly to the console
Implements
Inherited Members
Namespace: GLTFast.Logging
Assembly: glTFast.dll
Syntax
public class ConsoleLogger : ICodeLogger
Methods
Error(LogCode, params string[])
Dispatches a critical error message.
Declaration
public void Error(LogCode code, params string[] messages)
Parameters
Type | Name | Description |
---|---|---|
LogCode | code | Message's log code |
string[] | messages | Additional, optional message parts |
Error(string)
Dispatches a critical error message.
Declaration
public void Error(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message to send |
Info(LogCode, params string[])
Dispatches an informational message.
Declaration
public void Info(LogCode code, params string[] messages)
Parameters
Type | Name | Description |
---|---|---|
LogCode | code | Message's log code |
string[] | messages | Additional, optional message parts |
Info(string)
Dispatches an informational message.
Declaration
public void Info(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message to send |
Log(LogType, LogCode, params string[])
Dispatches an informational message.
Declaration
public void Log(LogType logType, LogCode code, params string[] messages)
Parameters
Type | Name | Description |
---|---|---|
LogType | logType | Type of message e.g. warn or error etc. |
LogCode | code | Message's log code |
string[] | messages | Additional, optional message parts |
Warning(LogCode, params string[])
Dispatches a warning message.
Declaration
public void Warning(LogCode code, params string[] messages)
Parameters
Type | Name | Description |
---|---|---|
LogCode | code | Message's log code |
string[] | messages | Additional, optional message parts |
Warning(string)
Dispatches a warning message.
Declaration
public void Warning(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message to send |