C# Class Fan.Sys.Log

Log provides a simple, but standardized mechanism for logging.
Inheritance: FanObj
Datei anzeigen Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@typeof ( ) : Type
addHandler ( Func func ) : void
debug ( string message ) : void
debug ( string message, Err err ) : void
debug ( string message, System e ) : void
enabled ( LogLevel level ) : bool
err ( string message ) : void
err ( string message, Err err ) : void
err ( string message, System e ) : void
find ( string name ) : Log
find ( string name, bool check ) : Log
get ( string name ) : Log
handlers ( ) : List
info ( string message ) : void
info ( string message, Err err ) : void
info ( string message, System e ) : void
isDebug ( ) : bool
isEnabled ( LogLevel level ) : bool
isErr ( ) : bool
isInfo ( ) : bool
isWarn ( ) : bool
level ( ) : LogLevel
level ( LogLevel level ) : void
list ( ) : List
log ( LogRec rec ) : void
make ( string name, bool register ) : Log
make_ ( Log self, string name, bool register ) : void
name ( ) : string
removeHandler ( Func func ) : void
toStr ( ) : string
warn ( string message ) : void
warn ( string message, Err err ) : void
warn ( string message, System e ) : void

Private Methods

Method Description
Log ( ) : System.Collections

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

addHandler() public static method

public static addHandler ( Func func ) : void
func Func
return void

debug() public method

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

debug() public method

public debug ( string message, Err err ) : void
message string
err Err
return void

debug() public method

public debug ( string message, System e ) : void
message string
e System
return void

enabled() public method

public enabled ( LogLevel level ) : bool
level LogLevel
return bool

err() public method

public err ( string message ) : void
message string
return void

err() public method

public err ( string message, Err err ) : void
message string
err Err
return void

err() public method

public err ( string message, System e ) : void
message string
e System
return void

find() public static method

public static find ( string name ) : Log
name string
return Log

find() public static method

public static find ( string name, bool check ) : Log
name string
check bool
return Log

get() public static method

public static get ( string name ) : Log
name string
return Log

handlers() public static method

public static handlers ( ) : List
return List

info() public method

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

info() public method

public info ( string message, Err err ) : void
message string
err Err
return void

info() public method

public info ( string message, System e ) : void
message string
e System
return void

isDebug() public method

public isDebug ( ) : bool
return bool

isEnabled() public method

public isEnabled ( LogLevel level ) : bool
level LogLevel
return bool

isErr() public method

public isErr ( ) : bool
return bool

isInfo() public method

public isInfo ( ) : bool
return bool

isWarn() public method

public isWarn ( ) : bool
return bool

level() public method

public level ( ) : LogLevel
return LogLevel

level() public method

public level ( LogLevel level ) : void
level LogLevel
return void

list() public static method

public static list ( ) : List
return List

log() public method

public log ( LogRec rec ) : void
rec LogRec
return void

make() public static method

public static make ( string name, bool register ) : Log
name string
register bool
return Log

make_() public static method

public static make_ ( Log self, string name, bool register ) : void
self Log
name string
register bool
return void

name() public method

public name ( ) : string
return string

removeHandler() public static method

public static removeHandler ( Func func ) : void
func Func
return void

toStr() public final method

public final toStr ( ) : string
return string

warn() public method

public warn ( string message ) : void
message string
return void

warn() public method

public warn ( string message, Err err ) : void
message string
err Err
return void

warn() public method

public warn ( string message, System e ) : void
message string
e System
return void