Class Logger
Inheritance
System.Object
Logger
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 |
---|---|
System.Boolean |
LogToConsole
Declaration
public bool LogToConsole { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Critical(String)
Declaration
public void Critical(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | logMessage |
Debug(String)
Declaration
public void Debug(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | logMessage |
DeleteLogs()
Declaration
public void DeleteLogs()
Error(String)
Declaration
public void Error(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | logMessage |
Info(String)
Declaration
public void Info(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | logMessage |
LogException(String, Exception)
Declaration
public void LogException(string heading, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | heading | |
System.Exception | exception |
Warning(String)
Declaration
public void Warning(string logMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | logMessage |