C# 클래스 Common.Logging.NLog.NLogLoggerFactoryAdapter

Concrete subclass of ILoggerFactoryAdapter specific to NLog.

Note, that you cannot use NLog in medium trust environments unless you use an unsigned build

The following configuration property values may be configured: configType: INLINE|FILE configFile: NLog XML configuration file path in case of FILE The configType values have the following implications: FILE: calls NLog.LogManager.Configuration = new NLog.Config.XmlLoggingConfiguration(configFile). <any other value>: expects NLog to be configured externally
상속: Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter
파일 보기 프로젝트 열기: net-commons/common-logging 1 사용 예제들

공개 메소드들

메소드 설명
NLogLoggerFactoryAdapter ( NameValueCollection properties ) : System

Constructor

보호된 메소드들

메소드 설명
CreateLogger ( string name ) : ILog

Get a ILog instance by type name

비공개 메소드들

메소드 설명
NLogLoggerFactoryAdapter ( System properties ) : System

메소드 상세

CreateLogger() 보호된 메소드

Get a ILog instance by type name
protected CreateLogger ( string name ) : ILog
name string
리턴 ILog

NLogLoggerFactoryAdapter() 공개 메소드

Constructor
public NLogLoggerFactoryAdapter ( NameValueCollection properties ) : System
properties NameValueCollection
리턴 System