C# Class SipSharp.Logging.ConsoleLogFactory

Inheritance: ILogFactory
Mostra file Open project: jgauffin/SipSharp

Public Methods

Method Description
ConsoleLogFactory ( ILogFilter filter ) : System

Initializes a new instance of the ConsoleLogFactory class.

CreateLogger ( Type type ) : ILogger

Create a new logger.

MUST ALWAYS return a logger. Return NullLogger if no logging should be used.

Method Details

ConsoleLogFactory() public method

Initializes a new instance of the ConsoleLogFactory class.
public ConsoleLogFactory ( ILogFilter filter ) : System
filter ILogFilter The filter.
return System

CreateLogger() public method

Create a new logger.
MUST ALWAYS return a logger. Return NullLogger if no logging should be used.
public CreateLogger ( Type type ) : ILogger
type System.Type Type that requested a logger.
return ILogger