Show / Hide Table of Contents

Class Logger

Inheritance
object
Logger
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
bool

LogToConsole

Declaration
public bool LogToConsole { get; }
Property Value
Type Description
bool

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
In this article
Back to top