Class CatLogger
Inheritance
Object
CatLogger
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Assembly: tt-net-api.dll
Syntax
Constructors
CatLogger()
Declaration
CatLogger(String)
Declaration
public CatLogger(string categoryName)
Parameters
Type |
Name |
Description |
String |
categoryName |
|
Properties
IsDebugEnabled
Declaration
public bool IsDebugEnabled { get; }
Property Value
LogFileName
Declaration
public string LogFileName { get; }
Property Value
LogToConsole
Declaration
public bool LogToConsole { get; }
Property Value
Methods
Assert(Boolean, String)
Declaration
public void Assert(bool flag, string message = null)
Parameters
Type |
Name |
Description |
Boolean |
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 |
|