C# Class NDomain.Logging.NullLoggerFactory

ILoggerFactory implementation to be used when no logging is intended. Besides unit tests, this should never be used.
Inheritance: ILoggerFactory
Show file Open project: mfelicio/NDomain

Public Properties

Property Type Description
Instance ILoggerFactory

Public Methods

Method Description
GetLogger ( Type type ) : ILogger
GetLogger ( string name ) : ILogger

Private Methods

Method Description
NullLoggerFactory ( ) : System

Method Details

GetLogger() public method

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

GetLogger() public method

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

Property Details

Instance public static property

Singleton instance for the NullLoggerFactory
public static ILoggerFactory Instance
return ILoggerFactory