C# 클래스 Castle.Services.Logging.NLogIntegration.ExtendedNLogFactory

Implementation of IExtendedLoggerFactory for NLog.
상속: Castle.Core.Logging.AbstractExtendedLoggerFactory
파일 보기 프로젝트 열기: 7digital/Castle.Core 1 사용 예제들

공개 메소드들

메소드 설명
Create ( string name ) : IExtendedLogger

Creates a new extended logger with the specified name.

Create ( string name, LoggerLevel level ) : IExtendedLogger

Not implemented, NLog logger levels cannot be set at runtime.

ExtendedNLogFactory ( ) : System

Initializes a new instance of the ExtendedNLogFactory class. Configures NLog with a config file name 'nlog.config' Create(string)

ExtendedNLogFactory ( string configFile ) : System

Initializes a new instance of the ExtendedNLogFactory class with the configfile specified by configFile

메소드 상세

Create() 공개 메소드

Creates a new extended logger with the specified name.
public Create ( string name ) : IExtendedLogger
name string
리턴 IExtendedLogger

Create() 공개 메소드

Not implemented, NLog logger levels cannot be set at runtime.
public Create ( string name, LoggerLevel level ) : IExtendedLogger
name string The name.
level LoggerLevel The level.
리턴 IExtendedLogger

ExtendedNLogFactory() 공개 메소드

Initializes a new instance of the ExtendedNLogFactory class. Configures NLog with a config file name 'nlog.config' Create(string)
public ExtendedNLogFactory ( ) : System
리턴 System

ExtendedNLogFactory() 공개 메소드

Initializes a new instance of the ExtendedNLogFactory class with the configfile specified by configFile
public ExtendedNLogFactory ( string configFile ) : System
configFile string The config file.
리턴 System