C# Class Mono.Cecil.Inject.Logger

Logger. Works only in the DEBUG build.
Exibir arquivo Open project: denikson/Mono.Cecil.Inject

Public Methods

Method Description
IsSet ( uint mask ) : bool

Checks whether a certaing logging flag is set.

SetLogMask ( uint mask ) : void

Sets the log mask on so that the log could write messages when it encounters this mask.

UnsetMask ( uint mask ) : void

Unsets the log mask on so that the log wouldn't output messages with the given mask.

Private Methods

Method Description
Log ( uint mask, string message ) : void
LogLine ( uint mask ) : void
LogLine ( uint mask, string message ) : void
Logger ( ) : System

Method Details

IsSet() public static method

Checks whether a certaing logging flag is set.
public static IsSet ( uint mask ) : bool
mask uint The flag to check.
return bool

SetLogMask() public static method

Sets the log mask on so that the log could write messages when it encounters this mask.
public static SetLogMask ( uint mask ) : void
mask uint The mask to set.
return void

UnsetMask() public static method

Unsets the log mask on so that the log wouldn't output messages with the given mask.
public static UnsetMask ( uint mask ) : void
mask uint The mask to unset.
return void