C# Class Sharp.Data.Log.LogManager

Show file Open project: sharpmigrations/sharpmigrations

Public Methods

Method Description
GetLogger ( Type type ) : ISharpLogger
GetLogger ( string keyName ) : ISharpLogger
SetLoggersFactory ( ISharpLoggerFactory loggerFactory ) : void

Private Methods

Method Description
FindDllPath ( string dllfile ) : string
GetLoggerFactory ( string loggerClass ) : ISharpLoggerFactory
LogManager ( ) : System
LogManager ( ISharpLoggerFactory loggerFactory ) : System
TryToFindLog4Net ( ) : string
TryToFindNLog ( ) : string

Method Details

GetLogger() public static method

public static GetLogger ( Type type ) : ISharpLogger
type System.Type
return ISharpLogger

GetLogger() public static method

public static GetLogger ( string keyName ) : ISharpLogger
keyName string
return ISharpLogger

SetLoggersFactory() public static method

public static SetLoggersFactory ( ISharpLoggerFactory loggerFactory ) : void
loggerFactory ISharpLoggerFactory
return void