C# Класс Castle.Services.Logging.NLogIntegration.NLogLogger

Implementation of ILogger for NLog.
Наследование: ILogger
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
FatalError void
FatalError void
NLogLogger System

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

Метод Описание
CreateChildLogger ( String name ) : ILogger

Creates a child logger with the specied name.

Debug ( string message ) : void

Logs a debug message.

Debug ( string message, Exception exception ) : void

Logs a debug message.

DebugFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs a debug message.

DebugFormat ( Exception exception, string format ) : void

Logs a debug message.

DebugFormat ( IFormatProvider formatProvider, string format ) : void

Logs a debug message.

DebugFormat ( string format ) : void

Logs a debug message.

Error ( string message ) : void

Logs an error message.

Error ( string message, Exception exception ) : void

Logs an error message.

ErrorFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs an error message.

ErrorFormat ( Exception exception, string format ) : void

Logs an error message.

ErrorFormat ( IFormatProvider formatProvider, string format ) : void

Logs an error message.

ErrorFormat ( string format ) : void

Logs an error message.

Fatal ( string message ) : void

Logs a fatal message.

Fatal ( string message, Exception exception ) : void

Logs a fatal message.

FatalFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs a fatal message.

FatalFormat ( Exception exception, string format ) : void

Logs a fatal message.

FatalFormat ( IFormatProvider formatProvider, string format ) : void

Logs a fatal message.

FatalFormat ( string format ) : void

Logs a fatal message.

Info ( string message ) : void

Logs an info message.

Info ( string message, Exception exception ) : void

Logs an info message.

InfoFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs an info message.

InfoFormat ( Exception exception, string format ) : void

Logs an info message.

InfoFormat ( IFormatProvider formatProvider, string format ) : void

Logs an info message.

InfoFormat ( string format ) : void

Logs an info message.

NLogLogger ( Logger logger, Castle.Services.Logging.NLogIntegration.NLogFactory factory ) : System

Initializes a new instance of the NLogLogger class.

ToString ( ) : string

Returns a System.String that represents this instance.

Warn ( string message ) : void

Logs a warn message.

Warn ( string message, Exception exception ) : void

Logs a warn message.

WarnFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs a warn message.

WarnFormat ( Exception exception, string format ) : void

Logs a warn message.

WarnFormat ( IFormatProvider formatProvider, string format ) : void

Logs a warn message.

WarnFormat ( string format ) : void

Logs a warn message.

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

Метод Описание
FatalError ( String format ) : void
FatalError ( String message, Exception exception ) : void
NLogLogger ( ) : System

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

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

Creates a child logger with the specied name.
public CreateChildLogger ( String name ) : ILogger
name String The name.
Результат ILogger

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

Logs a debug message.
public Debug ( string message ) : void
message string The message to log
Результат void

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

Logs a debug message.
public Debug ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
Результат void

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

Logs a debug message.
public DebugFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs a debug message.
public DebugFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
Результат void

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

Logs a debug message.
public DebugFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs a debug message.
public DebugFormat ( string format ) : void
format string Format string for the message to log
Результат void

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

Logs an error message.
public Error ( string message ) : void
message string The message to log
Результат void

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

Logs an error message.
public Error ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
Результат void

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

Logs an error message.
public ErrorFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs an error message.
public ErrorFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
Результат void

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

Logs an error message.
public ErrorFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs an error message.
public ErrorFormat ( string format ) : void
format string Format string for the message to log
Результат void

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

Logs a fatal message.
public Fatal ( string message ) : void
message string The message to log
Результат void

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

Logs a fatal message.
public Fatal ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
Результат void

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

Logs a fatal message.
public FatalFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs a fatal message.
public FatalFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
Результат void

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

Logs a fatal message.
public FatalFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs a fatal message.
public FatalFormat ( string format ) : void
format string Format string for the message to log
Результат void

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

Logs an info message.
public Info ( string message ) : void
message string The message to log
Результат void

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

Logs an info message.
public Info ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
Результат void

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

Logs an info message.
public InfoFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs an info message.
public InfoFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
Результат void

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

Logs an info message.
public InfoFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs an info message.
public InfoFormat ( string format ) : void
format string Format string for the message to log
Результат void

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

Initializes a new instance of the NLogLogger class.
public NLogLogger ( Logger logger, Castle.Services.Logging.NLogIntegration.NLogFactory factory ) : System
logger Logger The logger.
factory Castle.Services.Logging.NLogIntegration.NLogFactory The factory.
Результат System

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

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

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

Logs a warn message.
public Warn ( string message ) : void
message string The message to log
Результат void

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

Logs a warn message.
public Warn ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
Результат void

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

Logs a warn message.
public WarnFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs a warn message.
public WarnFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
Результат void

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

Logs a warn message.
public WarnFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
Результат void

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

Logs a warn message.
public WarnFormat ( string format ) : void
format string Format string for the message to log
Результат void