C# Класс GSoft.Dynamite.Logging.TraceLogger

A logger that logs to SharePoint's ULS.
Наследование: ILogger
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Debug ( object message ) : void

Output the message at the Debug level.

Debug ( string format ) : void

Output the formatted message at the Debug level.

Error ( object message ) : void

Output the message at the Error level.

Error ( string format ) : void

Output the formatted message at the Error level.

Fatal ( object message ) : void

Output the message at the Fatal level.

Fatal ( string format ) : void

Output the formatted message at the Fatal level.

Info ( object message ) : void

Output the message at the Info level.

Info ( string format ) : void

Output the formatted message at the Info level.

TraceLogger ( string name, string categoryName, bool isDebugEnabled ) : Microsoft.SharePoint.Administration

Initializes a new instance of the TraceLogger class.

Warn ( object message ) : void

Output the message at the Warn level.

Warn ( string format ) : void

Output the formatted message at the Warn level.

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

Метод Описание
InnerLog ( TraceSeverity traceSeverity, string message ) : void

Logs to the ULS.

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

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

Output the message at the Debug level.
public Debug ( object message ) : void
message object The message to output.
Результат void

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

Output the formatted message at the Debug level.
public Debug ( string format ) : void
format string The format to use.
Результат void

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

Output the message at the Error level.
public Error ( object message ) : void
message object The message to output.
Результат void

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

Output the formatted message at the Error level.
public Error ( string format ) : void
format string The format to use.
Результат void

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

Output the message at the Fatal level.
public Fatal ( object message ) : void
message object The message to output.
Результат void

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

Output the formatted message at the Fatal level.
public Fatal ( string format ) : void
format string The format to use.
Результат void

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

Output the message at the Info level.
public Info ( object message ) : void
message object The message to output.
Результат void

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

Output the formatted message at the Info level.
public Info ( string format ) : void
format string The format to use.
Результат void

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

Logs to the ULS.
protected InnerLog ( TraceSeverity traceSeverity, string message ) : void
traceSeverity TraceSeverity The trace severity.
message string The message.
Результат void

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

Initializes a new instance of the TraceLogger class.
public TraceLogger ( string name, string categoryName, bool isDebugEnabled ) : Microsoft.SharePoint.Administration
name string The name.
categoryName string Name of the category.
isDebugEnabled bool if set to true [is debug enabled].
Результат Microsoft.SharePoint.Administration

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

Output the message at the Warn level.
public Warn ( object message ) : void
message object The message to output.
Результат void

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

Output the formatted message at the Warn level.
public Warn ( string format ) : void
format string The format to use.
Результат void