Class ConsoleLogger
Logs messages directly to the console
Implements
Inherited Members
Namespace: GLTFast.Logging
Assembly: solution.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 |
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 |