C# Class NServiceBus.Logging.DefaultFactory

The default LoggingFactoryDefinition.
Inheritance: LoggingFactoryDefinition
Datei anzeigen Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
DefaultFactory ( ) : System

Initializes a new instance of DefaultFactory.

Directory ( string directory ) : void

The directory to log files to.

Level ( LogLevel level ) : void

Controls the LogLevel.

Protected Methods

Method Description
GetLoggingFactory ( ) : ILoggerFactory

LoggingFactoryDefinition.GetLoggingFactory.

Private Methods

Method Description
DeriveAppDataPath ( ) : string
FindDefaultLoggingDirectory ( ) : string
GetMapPathError ( string reason ) : string
TryMapPath ( ) : string

Method Details

DefaultFactory() public method

Initializes a new instance of DefaultFactory.
public DefaultFactory ( ) : System
return System

Directory() public method

The directory to log files to.
public Directory ( string directory ) : void
directory string
return void

GetLoggingFactory() protected method

LoggingFactoryDefinition.GetLoggingFactory.
protected GetLoggingFactory ( ) : ILoggerFactory
return ILoggerFactory

Level() public method

Controls the LogLevel.
public Level ( LogLevel level ) : void
level LogLevel
return void