Show / Hide Table of Contents

Class CatLogger

Inheritance
object
CatLogger
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 CatLogger

Constructors

CatLogger()

Declaration
public CatLogger()

CatLogger(string)

Declaration
public CatLogger(string categoryName)
Parameters
Type Name Description
string categoryName

Properties

IsDebugEnabled

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

LogFileName

Declaration
public string LogFileName { get; }
Property Value
Type Description
string

LogToConsole

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

Methods

Assert(bool, string)

Declaration
public void Assert(bool flag, string message = null)
Parameters
Type Name Description
bool flag
string message

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

Error(string)

Declaration
public void Error(string logmessage)
Parameters
Type Name Description
string logmessage

Info(MemoryStream)

Declaration
public void Info(MemoryStream logdata)
Parameters
Type Name Description
MemoryStream logdata

Info(string)

Declaration
public void Info(string logmessage)
Parameters
Type Name Description
string logmessage

Info(string, Dictionary<string, object>)

Declaration
public void Info(string message, Dictionary<string, object> logmessage)
Parameters
Type Name Description
string message
Dictionary<string, object> logmessage

LogException(string, Exception)

Declaration
public void LogException(string heading, Exception exception)
Parameters
Type Name Description
string heading
Exception exception

SetCategoryName(string)

Declaration
public void SetCategoryName(string categoryName)
Parameters
Type Name Description
string categoryName

Warning(string)

Declaration
public void Warning(string logmessage)
Parameters
Type Name Description
string logmessage
In this article
Back to top