C# 클래스 Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter

상속: Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter
파일 보기 프로젝트 열기: net-commons/common-logging

Private Properties

프로퍼티 타입 설명

보호된 메소드들

메소드 설명
AbstractSimpleLoggerFactoryAdapter ( LogLevel level, bool showDateTime, bool showLogName, bool showLevel, string dateTimeFormat ) : Common.Logging.Factory

Initializes a new instance of the AbstractSimpleLoggerFactoryAdapter class with default settings for the loggers created by this factory.

AbstractSimpleLoggerFactoryAdapter ( NameValueCollection properties ) : Common.Logging.Factory

Initializes a new instance of the AbstractSimpleLoggerFactoryAdapter class.

Looks for level, showDateTime, showLogName, dateTimeFormat items from for use when the GetLogger methods are called. System.Configuration.ConfigurationManager for more information on how to use the standard .NET application configuration file (App.config/Web.config) to configure this adapter.

CreateLogger ( string name ) : ILog

Create the specified logger instance

CreateLogger ( string name, LogLevel level, bool showLevel, bool showDateTime, bool showLogName, string dateTimeFormat ) : ILog

Derived factories need to implement this method to create the actual logger instance.

메소드 상세

AbstractSimpleLoggerFactoryAdapter() 보호된 메소드

Initializes a new instance of the AbstractSimpleLoggerFactoryAdapter class with default settings for the loggers created by this factory.
protected AbstractSimpleLoggerFactoryAdapter ( LogLevel level, bool showDateTime, bool showLogName, bool showLevel, string dateTimeFormat ) : Common.Logging.Factory
level LogLevel
showDateTime bool
showLogName bool
showLevel bool
dateTimeFormat string
리턴 Common.Logging.Factory

AbstractSimpleLoggerFactoryAdapter() 보호된 메소드

Initializes a new instance of the AbstractSimpleLoggerFactoryAdapter class.
Looks for level, showDateTime, showLogName, dateTimeFormat items from for use when the GetLogger methods are called. System.Configuration.ConfigurationManager for more information on how to use the standard .NET application configuration file (App.config/Web.config) to configure this adapter.
protected AbstractSimpleLoggerFactoryAdapter ( NameValueCollection properties ) : Common.Logging.Factory
properties NameValueCollection The key value collection, typically specified by the user in /// a configuration section named common/logging.
리턴 Common.Logging.Factory

CreateLogger() 보호된 메소드

Create the specified logger instance
protected CreateLogger ( string name ) : ILog
name string
리턴 ILog

CreateLogger() 보호된 추상적인 메소드

Derived factories need to implement this method to create the actual logger instance.
protected abstract CreateLogger ( string name, LogLevel level, bool showLevel, bool showDateTime, bool showLogName, string dateTimeFormat ) : ILog
name string
level LogLevel
showLevel bool
showDateTime bool
showLogName bool
dateTimeFormat string
리턴 ILog