C# Класс EpLibrary.cs.LogWriter

Log Writer Singleton Instance
Наследование: BaseTextFile
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
loadFromFile ( StreamReader stream ) : void

Actual load Function that loads values from the file.

writeLoop ( ) : void

Loop Function that writes to the file.

Описание методов

LogWriter() публичный Метод

Default Constructor
public LogWriter ( ) : System
Результат System

LogWriter() публичный Метод

Default Copy Constructor
public LogWriter ( LogWriter b ) : System
b LogWriter the object to copy from
Результат System

LogWriter() публичный Метод

Default Constructor
public LogWriter ( string logFilename = null ) : System
logFilename string
Результат System

WriteLog() публичный Метод

Writer given message to the log with current time.
public WriteLog ( String pMsg ) : void
pMsg String the message to print to the log file.
Результат void

loadFromFile() защищенный Метод

Actual load Function that loads values from the file.
protected loadFromFile ( StreamReader stream ) : void
stream System.IO.StreamReader stream from the file
Результат void

writeLoop() защищенный Метод

Loop Function that writes to the file.
protected writeLoop ( ) : void
Результат void