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

Factory for creating ILog instances that silently ignores logging requests.
This logger adapter is the default used by Common.Logging if unconfigured. Using this logger adapter is the most efficient way to suppress any logging output. Below is an example how to configure this adapter: <configuration> <configSections> <sectionGroup name="common"> <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" requirePermission="false" /> </sectionGroup> </configSections> <common> <logging> <factoryAdapter type="Common.Logging.Simple.NoOpLoggerFactoryAdapter, Common.Logging"> <arg key="level" value="ALL" /> </factoryAdapter> </logging> </common> </configuration>
상속: ILoggerFactoryAdapter
파일 보기 프로젝트 열기: SaladLab/Common.Logging.Unity3D 1 사용 예제들

공개 메소드들

메소드 설명
GetLogger ( Type type ) : ILog

Get a ILog instance by type

NoOpLoggerFactoryAdapter ( ) : System

Constructor

NoOpLoggerFactoryAdapter ( NameValueCollection properties ) : System

Constructor

비공개 메소드들

메소드 설명
ILoggerFactoryAdapter ( string key ) : ILog

Get a ILog instance by type key

NoOpLoggerFactoryAdapter ( System properties ) : System

메소드 상세

GetLogger() 공개 메소드

Get a ILog instance by type
public GetLogger ( Type type ) : ILog
type System.Type
리턴 ILog

NoOpLoggerFactoryAdapter() 공개 메소드

Constructor
public NoOpLoggerFactoryAdapter ( ) : System
리턴 System

NoOpLoggerFactoryAdapter() 공개 메소드

Constructor
public NoOpLoggerFactoryAdapter ( NameValueCollection properties ) : System
properties System.Collections.Specialized.NameValueCollection
리턴 System