Class Logger
Inheritance
Object
Logger
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: tt_net_sdk.util
Assembly: tt-net-api.dll
Syntax
public class Logger
Properties
Instance
Declaration
public static Logger Instance { get; }
Property Value
Type | Description |
---|---|
Logger |
IsDebugEnabled
Declaration
public bool IsDebugEnabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
LogToConsole
Declaration
public bool LogToConsole { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Critical(String)
Declaration
public void Critical(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
String | logMessage |
Debug(String)
Declaration
public void Debug(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
String | logMessage |
DeleteLogs()
Declaration
public void DeleteLogs()
Error(String)
Declaration
public void Error(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
String | logMessage |
Info(String)
Declaration
public void Info(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
String | logMessage |
LogException(String, Exception)
Declaration
public void LogException(string heading, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
String | heading | |
Exception | exception |
Warning(String)
Declaration
public void Warning(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
String | logMessage |