Class LogItem
Encapsulates a single log message.
Inherited Members
Namespace: GLTFast.Logging
Assembly: solution.dll
Syntax
[Serializable]
public class LogItem
Constructors
LogItem(LogType, LogCode, params string[])
Default constructor
Declaration
public LogItem(LogType type, LogCode code, params string[] messages)
Parameters
Type | Name | Description |
---|---|---|
LogType | type | The severeness type of the log message |
LogCode | code | Message code |
string[] | messages | Additional, optional message parts |
Properties
Code
Message code
Declaration
public LogCode Code { get; }
Property Value
Type | Description |
---|---|
LogCode |
Messages
Additional, optional message parts
Declaration
public string[] Messages { get; }
Property Value
Type | Description |
---|---|
string[] |
Type
The severeness type of the log message.
Declaration
public LogType Type { get; }
Property Value
Type | Description |
---|---|
LogType |
Methods
Log()
Logs the message to the console
Declaration
public void Log()
ToString()
Returns the full log message
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | Log message |