C# Class m.Logging.NLogAdapter

Inheritance: LoggingProvider.ILogger
Exibir arquivo Open project: joongonn/mHttp

Public Properties

Property Type Description
Provider LoggingProvider.ILogger>.Func

Public Methods

Method Description
Debug ( string msg ) : void
Error ( string msg ) : void
Fatal ( string msg ) : void
Info ( string msg ) : void
NLogAdapter ( Type type ) : System
ToConsole ( NLog.LogLevel level ) : LoggingConfiguration
Warn ( string msg ) : void

Private Methods

Method Description
Log ( NLog.LogLevel level, string msg ) : void

Method Details

Debug() public method

public Debug ( string msg ) : void
msg string
return void

Error() public method

public Error ( string msg ) : void
msg string
return void

Fatal() public method

public Fatal ( string msg ) : void
msg string
return void

Info() public method

public Info ( string msg ) : void
msg string
return void

NLogAdapter() public method

public NLogAdapter ( Type type ) : System
type System.Type
return System

ToConsole() public static method

public static ToConsole ( NLog.LogLevel level ) : LoggingConfiguration
level NLog.LogLevel
return NLog.Config.LoggingConfiguration

Warn() public method

public Warn ( string msg ) : void
msg string
return void

Property Details

Provider public_oe static_oe property

public static Func Provider
return LoggingProvider.ILogger>.Func