C# Class TuningHostProject.Logging

Mostra file 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, DirectoryInfo ParentDirectory = null ) : bool

WriteSystemInformation ( ) : void

Private Methods

Method Description
GlobalMemoryStatusEx ( [ lpBuffer ) : bool
Logging ( ) : System
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, DirectoryInfo ParentDirectory = null ) : bool
LogFileName string
Append bool
WriteHeader bool
ParentDirectory System.IO.DirectoryInfo
return bool

WriteSystemInformation() public method

public WriteSystemInformation ( ) : void
return void