C# Class LogSys, CSharpGameFramework

Mostra file Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Properties

Property Type Description
m_CacheSize int
m_LogCache byte[]

Private Properties

Property Type Description
ExitSystem void
FlushAll void
InitConfig bool
InitSystem bool
LOG void
LOGICLOG void
LogSys System
NORMLOG void
OnFlushLogicLog void
OnFlushNormLog void
RegisterLogicModuleLogByName void
RegisterNormModuleLogByName void
Swap int

Public Methods

Method Description
FlushNormLog ( ) : void
Init ( string config ) : bool
Log ( LOG_TYPE logtype, ConsoleColor, cc, string format ) : void
Log ( LOG_TYPE logtype, string format ) : void
LogicLog ( string module, string format ) : void
NormLog ( string module ) : void
Release ( ) : void

Private Methods

Method Description
ExitSystem ( ) : void
FlushAll ( ) : void
InitConfig ( string config ) : bool
InitSystem ( string config ) : bool
LOG ( LOG_TYPE logtype, ConsoleColor, fg_color, string format ) : void
LOGICLOG ( string module_name, string format ) : void
LogSys ( ) : System
NORMLOG ( string module_name ) : void
OnFlushLogicLog ( ) : void
OnFlushNormLog ( ) : void
RegisterLogicModuleLogByName ( ) : void
RegisterNormModuleLogByName ( ) : void
Swap ( Log log ) : int

Method Details

FlushNormLog() public static method

public static FlushNormLog ( ) : void
return void

Init() public static method

public static Init ( string config ) : bool
config string
return bool

Log() public static method

public static Log ( LOG_TYPE logtype, ConsoleColor, cc, string format ) : void
logtype LOG_TYPE
cc ConsoleColor,
format string
return void

Log() public static method

public static Log ( LOG_TYPE logtype, string format ) : void
logtype LOG_TYPE
format string
return void

LogicLog() public static method

public static LogicLog ( string module, string format ) : void
module string
format string
return void

NormLog() public static method

public static NormLog ( string module ) : void
module string
return void

Release() public static method

public static Release ( ) : void
return void

Property Details

m_CacheSize public_oe property

public int m_CacheSize
return int

m_LogCache public_oe property

public byte[] m_LogCache
return byte[]