C# Class Tce.RpcLogger

显示文件 Open project: adoggie/TCE Class Usage Examples

Public Methods

Method Description
addLogHandler ( string name, RpcLogHandler handler ) : RpcLogger
create ( string name ) : RpcLogger
debug ( string msg ) : RpcLogger
error ( string msg ) : RpcLogger
info ( string msg ) : RpcLogger
instance ( ) : RpcLogger
print ( string msg, LOG_TYPE type ) : RpcLogger
removeLogHandler ( string name ) : RpcLogger
setLevel ( LOG_TYPE type ) : RpcLogger
warn ( string msg ) : RpcLogger

Private Methods

Method Description
RpcLogger ( string name = "" ) : System

Method Details

addLogHandler() public method

public addLogHandler ( string name, RpcLogHandler handler ) : RpcLogger
name string
handler RpcLogHandler
return RpcLogger

create() public static method

public static create ( string name ) : RpcLogger
name string
return RpcLogger

debug() public method

public debug ( string msg ) : RpcLogger
msg string
return RpcLogger

error() public method

public error ( string msg ) : RpcLogger
msg string
return RpcLogger

info() public method

public info ( string msg ) : RpcLogger
msg string
return RpcLogger

instance() public static method

public static instance ( ) : RpcLogger
return RpcLogger

print() public method

public print ( string msg, LOG_TYPE type ) : RpcLogger
msg string
type LOG_TYPE
return RpcLogger

removeLogHandler() public method

public removeLogHandler ( string name ) : RpcLogger
name string
return RpcLogger

setLevel() public method

public setLevel ( LOG_TYPE type ) : RpcLogger
type LOG_TYPE
return RpcLogger

warn() public method

public warn ( string msg ) : RpcLogger
msg string
return RpcLogger