C# Class ILDynaRec.Debug

Show file Open project: zapu/UnityHotSwap

Public Properties

Property Type Description
ErrorAction Action
LogAction Action
WarnAction Action

Public Methods

Method Description
Log ( string str ) : void
LogError ( string str ) : void
LogErrorFormat ( string format ) : void
LogFormat ( string format ) : void
LogWarning ( string str ) : void
LogWarningFormat ( string format ) : void
Silence ( ) : void

Disable all logging by setting log actions to empty functions

Trace ( string line ) : void

Private Methods

Method Description
Debug ( ) : System

Method Details

Log() public static method

public static Log ( string str ) : void
str string
return void

LogError() public static method

public static LogError ( string str ) : void
str string
return void

LogErrorFormat() public static method

public static LogErrorFormat ( string format ) : void
format string
return void

LogFormat() public static method

public static LogFormat ( string format ) : void
format string
return void

LogWarning() public static method

public static LogWarning ( string str ) : void
str string
return void

LogWarningFormat() public static method

public static LogWarningFormat ( string format ) : void
format string
return void

Silence() public static method

Disable all logging by setting log actions to empty functions
public static Silence ( ) : void
return void

Trace() public static method

public static Trace ( string line ) : void
line string
return void

Property Details

ErrorAction public static property

public static Action ErrorAction
return Action

LogAction public static property

public static Action LogAction
return Action

WarnAction public static property

public static Action WarnAction
return Action