TT Setup SDK (Developer Preview)  0.1
Documentation
tt_setup_sdk.util.CatLogger Class Reference

Public Member Functions

 CatLogger ()
 
 CatLogger (string categoryName)
 
void SetCategoryName (string categoryName)
 
void Info (System.IO.MemoryStream logdata)
 
void Info (string logmessage)
 
void Info (string message, Dictionary< string, object > logmessage)
 
void Debug (string logmessage)
 
void Warning (string logmessage)
 
void Error (string logmessage)
 
void Critical (string logmessage)
 
void LogException (string heading, Exception exception)
 
void Assert (bool flag, string message=null)
 

Data Fields

bool LogToConsole => logger_.LogToConsole
 
bool IsDebugEnabled => logger_.IsDebugEnabled
 

Constructor & Destructor Documentation

◆ CatLogger() [1/2]

tt_setup_sdk.util.CatLogger.CatLogger ( )
inline

◆ CatLogger() [2/2]

tt_setup_sdk.util.CatLogger.CatLogger ( string  categoryName)
inline

Member Function Documentation

◆ Assert()

void tt_setup_sdk.util.CatLogger.Assert ( bool  flag,
string  message = null 
)
inline

◆ Critical()

void tt_setup_sdk.util.CatLogger.Critical ( string  logmessage)
inline

◆ Debug()

void tt_setup_sdk.util.CatLogger.Debug ( string  logmessage)
inline

◆ Error()

void tt_setup_sdk.util.CatLogger.Error ( string  logmessage)
inline

◆ Info() [1/3]

void tt_setup_sdk.util.CatLogger.Info ( System.IO.MemoryStream  logdata)
inline

◆ Info() [2/3]

void tt_setup_sdk.util.CatLogger.Info ( string  logmessage)
inline

◆ Info() [3/3]

void tt_setup_sdk.util.CatLogger.Info ( string  message,
Dictionary< string, object >  logmessage 
)
inline

◆ LogException()

void tt_setup_sdk.util.CatLogger.LogException ( string  heading,
Exception  exception 
)
inline

◆ SetCategoryName()

void tt_setup_sdk.util.CatLogger.SetCategoryName ( string  categoryName)
inline

◆ Warning()

void tt_setup_sdk.util.CatLogger.Warning ( string  logmessage)
inline

Field Documentation

◆ IsDebugEnabled

bool tt_setup_sdk.util.CatLogger.IsDebugEnabled => logger_.IsDebugEnabled

◆ LogToConsole

bool tt_setup_sdk.util.CatLogger.LogToConsole => logger_.LogToConsole
Copyright © 2019 Trading Technologies International, Inc