C# Class TuningScannerProject.Logging

Datei anzeigen Open project: noahsw/highlight-hunter

Public Methods

Method Description
CloseLogger ( bool WriteCloser = true ) : void
InitLogger ( string LogFileName = "Odessa_debug.log", bool Append = false, bool WriteHeader = true ) : bool

WriteSystemInformation ( ) : void

Private Methods

Method Description
GlobalMemoryStatusEx ( [ lpBuffer ) : bool
Logging ( ) : System

Used if InitLogger is deferred until later

Logging ( string LogFileName ) : System

Create the class

WriteToLog ( string str, bool PrintDateTime = true ) : bool

Method Details

CloseLogger() public method

public CloseLogger ( bool WriteCloser = true ) : void
WriteCloser bool
return void

InitLogger() public method

public InitLogger ( string LogFileName = "Odessa_debug.log", bool Append = false, bool WriteHeader = true ) : bool
LogFileName string
Append bool
WriteHeader bool
return bool

WriteSystemInformation() public method

public WriteSystemInformation ( ) : void
return void