C# Класс BclExtras.Logger

Responsible for reporting unexpected errors for the developers to debug. Static class to make error reporting simple so I won't shun using it
Показать файл Открыть проект

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

Метод Описание
Error ( string message ) : void
Error ( string message, Exception ex ) : void
Error ( string category, string message ) : void
Error ( string category, string message, Exception ex ) : void
Log ( LogItemType type, string category, string message, Exception ex ) : void
Warning ( string message ) : void
Warning ( string message, Exception ex ) : void
Warning ( string category, string message ) : void
Warning ( string category, string message, Exception ex ) : void

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

Метод Описание
Debug ( string message ) : void
Debug ( string message, Exception ex ) : void
Debug ( string category, string message ) : void
Debug ( string category, string message, Exception ex ) : void
Log ( LogItem info, Exception ex ) : void
LogCore ( LogItemType type, string category, string message, Exception ex ) : void
OnLogEventCaptured ( LogItemEventArgs info ) : void
Trace ( string message ) : void
Trace ( string message, Exception ex ) : void
Trace ( string category, string message ) : void
Trace ( string category, string message, Exception ex ) : void

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

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

public static Error ( string message ) : void
message string
Результат void

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

public static Error ( string message, Exception ex ) : void
message string
ex System.Exception
Результат void

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

public static Error ( string category, string message ) : void
category string
message string
Результат void

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

public static Error ( string category, string message, Exception ex ) : void
category string
message string
ex System.Exception
Результат void

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

public static Log ( LogItemType type, string category, string message, Exception ex ) : void
type LogItemType
category string
message string
ex System.Exception
Результат void

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

public static Warning ( string message ) : void
message string
Результат void

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

public static Warning ( string message, Exception ex ) : void
message string
ex System.Exception
Результат void

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

public static Warning ( string category, string message ) : void
category string
message string
Результат void

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

public static Warning ( string category, string message, Exception ex ) : void
category string
message string
ex System.Exception
Результат void