C# Класс CSharpLogger.Logger

Показать файл Открыть проект

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

Метод Описание
Close ( ) : void

Call to close the filestream

Error ( String message ) : void

Logs an error

Event ( String message ) : void

Logs an event

HoldFlushes ( ) : void

Stops all filewriting and holds all logging in a buffer until RestartFlushes() is called

Logger ( String filePath ) : System

Allows easy logging of errors, warnings, and events

RestartFlushes ( ) : void

Logging will flush to file after each log call. Forces an immediate flush

Warning ( String message ) : void

Logs a warning

Приватные методы

Метод Описание
Flush ( ) : void

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

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

Call to close the filestream
public Close ( ) : void
Результат void

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

Logs an error
public Error ( String message ) : void
message String The message to explain the error
Результат void

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

Logs an event
public Event ( String message ) : void
message String The message to explain the event
Результат void

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

Stops all filewriting and holds all logging in a buffer until RestartFlushes() is called
public HoldFlushes ( ) : void
Результат void

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

Allows easy logging of errors, warnings, and events
public Logger ( String filePath ) : System
filePath String
Результат System

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

Logging will flush to file after each log call. Forces an immediate flush
public RestartFlushes ( ) : void
Результат void

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

Logs a warning
public Warning ( String message ) : void
message String The message to explain the warning
Результат void