C# Class EpLibrary.cs.LogWriter

Log Writer Singleton Instance
Inheritance: BaseTextFile
Afficher le fichier Open project: juhgiyo/EpLibrary.cs Class Usage Examples

Méthodes publiques

Méthode Description
LogWriter ( ) : System

Default Constructor

LogWriter ( LogWriter b ) : System

Default Copy Constructor

LogWriter ( string logFilename = null ) : System

Default Constructor

WriteLog ( String pMsg ) : void

Writer given message to the log with current time.

Méthodes protégées

Méthode Description
loadFromFile ( StreamReader stream ) : void

Actual load Function that loads values from the file.

writeLoop ( ) : void

Loop Function that writes to the file.

Method Details

LogWriter() public méthode

Default Constructor
public LogWriter ( ) : System
Résultat System

LogWriter() public méthode

Default Copy Constructor
public LogWriter ( LogWriter b ) : System
b LogWriter the object to copy from
Résultat System

LogWriter() public méthode

Default Constructor
public LogWriter ( string logFilename = null ) : System
logFilename string
Résultat System

WriteLog() public méthode

Writer given message to the log with current time.
public WriteLog ( String pMsg ) : void
pMsg String the message to print to the log file.
Résultat void

loadFromFile() protected méthode

Actual load Function that loads values from the file.
protected loadFromFile ( StreamReader stream ) : void
stream System.IO.StreamReader stream from the file
Résultat void

writeLoop() protected méthode

Loop Function that writes to the file.
protected writeLoop ( ) : void
Résultat void