C# Class hobd.Logger

Datei anzeigen Open project: cail/hobd

Public Properties

Property Type Description
DUMP bool
ERROR bool
INFO bool
TRACE bool
WARN bool

Public Methods

Method Description
Init ( string path ) : void
SetLevel ( string logLevel ) : void
dump ( String comp, String msg ) : void
error ( String comp, String msg ) : void
error ( String comp, String msg, Exception e ) : void
info ( String comp, String msg ) : void
info ( String comp, String msg, Exception e ) : void
log ( string level, string comp, string msg, Exception e ) : void
trace ( String msg ) : void
trace ( String comp, String msg ) : void

Method Details

Init() public static method

public static Init ( string path ) : void
path string
return void

SetLevel() public static method

public static SetLevel ( string logLevel ) : void
logLevel string
return void

dump() public static method

public static dump ( String comp, String msg ) : void
comp String
msg String
return void

error() public static method

public static error ( String comp, String msg ) : void
comp String
msg String
return void

error() public static method

public static error ( String comp, String msg, Exception e ) : void
comp String
msg String
e System.Exception
return void

info() public static method

public static info ( String comp, String msg ) : void
comp String
msg String
return void

info() public static method

public static info ( String comp, String msg, Exception e ) : void
comp String
msg String
e System.Exception
return void

log() public static method

public static log ( string level, string comp, string msg, Exception e ) : void
level string
comp string
msg string
e System.Exception
return void

trace() public static method

public static trace ( String msg ) : void
msg String
return void

trace() public static method

public static trace ( String comp, String msg ) : void
comp String
msg String
return void

Property Details

DUMP public_oe static_oe property

public static bool DUMP
return bool

ERROR public_oe static_oe property

public static bool ERROR
return bool

INFO public_oe static_oe property

public static bool INFO
return bool

TRACE public_oe static_oe property

public static bool TRACE
return bool

WARN public_oe static_oe property

public static bool WARN
return bool