C# Class Russ.Logger.Log

Mostra file Open project: russjudge/ArtemisSBS-ProtocolSharp

Public Methods

Method Description
Close ( ) : void
Debug ( string message ) : void
Debug ( string message, Exception exception ) : void
DebugFormat ( string message ) : void
Error ( string message ) : void
Error ( string message, Exception exception ) : void
ErrorFormat ( string message ) : void
Fatal ( string message ) : void
Fatal ( string message, Exception exception ) : void
FatalFormat ( string message ) : void
Flush ( ) : void
GetLogger ( Type classLogger ) : Log
Info ( string message ) : void
Info ( string message, Exception exception ) : void
InfoFormat ( string message ) : void
InitializeLogging ( LogLevels level, string filePath, bool forAppend ) : void
Warn ( string message ) : void
Warn ( string message, Exception exception ) : void
WarnFormat ( string message ) : void

Private Methods

Method Description
Log ( ) : System
Log ( Type classLogger ) : System
LogData ( string message ) : void
LogData ( string message, LogLevels level, Exception exception ) : void
WriteProcessing ( ) : void

Method Details

Close() public static method

public static Close ( ) : void
return void

Debug() public method

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

Debug() public method

public Debug ( string message, Exception exception ) : void
message string
exception System.Exception
return void

DebugFormat() public method

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

Error() public method

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

Error() public method

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

ErrorFormat() public method

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

Fatal() public method

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

Fatal() public method

public Fatal ( string message, Exception exception ) : void
message string
exception System.Exception
return void

FatalFormat() public method

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

Flush() public static method

public static Flush ( ) : void
return void

GetLogger() public static method

public static GetLogger ( Type classLogger ) : Log
classLogger System.Type
return Log

Info() public method

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

Info() public method

public Info ( string message, Exception exception ) : void
message string
exception System.Exception
return void

InfoFormat() public method

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

InitializeLogging() public static method

public static InitializeLogging ( LogLevels level, string filePath, bool forAppend ) : void
level LogLevels
filePath string
forAppend bool
return void

Warn() public method

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

Warn() public method

public Warn ( string message, Exception exception ) : void
message string
exception System.Exception
return void

WarnFormat() public method

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