C# Class FastNetwork.Log.ListenerWrapper

trace listener wrapper
Inheritance: ITraceListener
Show file Open project: zhujunxxxxx/FastNetwork

Public Methods

Method Description
Debug ( string message ) : void

debug

Error ( string message, Exception ex ) : void

error

Info ( string message ) : void

info

ListenerWrapper ( Action onDebug, Exception>.Action onError, Action onInfo ) : System

new

Method Details

Debug() public method

debug
public Debug ( string message ) : void
message string
return void

Error() public method

error
public Error ( string message, Exception ex ) : void
message string
ex System.Exception
return void

Info() public method

info
public Info ( string message ) : void
message string
return void

ListenerWrapper() public method

new
public ListenerWrapper ( Action onDebug, Exception>.Action onError, Action onInfo ) : System
onDebug Action
onError Exception>.Action
onInfo Action
return System