C# Класс Shared.Logger

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

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

Метод Описание
GetLogPath ( ) : string

Returns the path to the logfile

WriteToConsole ( string message ) : void

Writes a message to the console.

WriteToLogFile ( Exception e ) : void

Writes a message from a source to the logfile in the output folder.

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

Метод Описание
Log ( Exception e, TextWriter w ) : void

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

GetLogPath() публичный статический Метод

Returns the path to the logfile
public static GetLogPath ( ) : string
Результат string

WriteToConsole() публичный статический Метод

Writes a message to the console.
public static WriteToConsole ( string message ) : void
message string
Результат void

WriteToLogFile() публичный статический Метод

Writes a message from a source to the logfile in the output folder.
public static WriteToLogFile ( Exception e ) : void
e System.Exception
Результат void