C# Class 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
Inheritance: Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter
Afficher le fichier Open project: net-commons/common-logging Class Usage Examples

Méthodes publiques

Méthode Description
NLogLoggerFactoryAdapter ( NameValueCollection properties ) : System

Constructor

Méthodes protégées

Méthode Description
CreateLogger ( string name ) : ILog

Get a ILog instance by type name

Private Methods

Méthode Description
NLogLoggerFactoryAdapter ( System properties ) : System

Method Details

CreateLogger() protected méthode

Get a ILog instance by type name
protected CreateLogger ( string name ) : ILog
name string
Résultat ILog

NLogLoggerFactoryAdapter() public méthode

Constructor
public NLogLoggerFactoryAdapter ( NameValueCollection properties ) : System
properties NameValueCollection
Résultat System