C# Class NServiceBus.DefaultLoggerFactory

Inheritance: ILoggerFactory
Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
DefaultLoggerFactory ( LogLevel filterLevel, string loggingDirectory ) : System
GetLogger ( Type type ) : ILog
GetLogger ( string name ) : ILog
Write ( string name, LogLevel messageLevel, string message ) : void

Method Details

DefaultLoggerFactory() public method

public DefaultLoggerFactory ( LogLevel filterLevel, string loggingDirectory ) : System
filterLevel LogLevel
loggingDirectory string
return System

GetLogger() public method

public GetLogger ( Type type ) : ILog
type System.Type
return ILog

GetLogger() public method

public GetLogger ( string name ) : ILog
name string
return ILog

Write() public method

public Write ( string name, LogLevel messageLevel, string message ) : void
name string
messageLevel LogLevel
message string
return void