C# Class Prototype.Logger.Logger

Inheritance: NLog.Logger, ILogger
Mostrar archivo Open project: radicalgeek/SampleMicroservice

Public Methods

Method Description
Debug ( Exception exception ) : void
Debug ( Exception exception, string format ) : void
Error ( Exception exception ) : void
Error ( Exception exception, string format ) : void
Fatal ( Exception exception ) : void
Fatal ( Exception exception, string format ) : void
GetLoggingService ( ) : ILogger
Info ( Exception exception ) : void
Info ( Exception exception, string format ) : void
Trace ( Exception exception ) : void
Trace ( Exception exception, string format ) : void
Warn ( Exception exception ) : void
Warn ( Exception exception, string format ) : void

Private Methods

Method Description
GetLogEvent ( string loggerName, NLog.LogLevel level, Exception exception, string format, object args ) : LogEventInfo

Method Details

Debug() public method

public Debug ( Exception exception ) : void
exception System.Exception
return void

Debug() public method

public Debug ( Exception exception, string format ) : void
exception System.Exception
format string
return void

Error() public method

public Error ( Exception exception ) : void
exception System.Exception
return void

Error() public method

public Error ( Exception exception, string format ) : void
exception System.Exception
format string
return void

Fatal() public method

public Fatal ( Exception exception ) : void
exception System.Exception
return void

Fatal() public method

public Fatal ( Exception exception, string format ) : void
exception System.Exception
format string
return void

GetLoggingService() public static method

public static GetLoggingService ( ) : ILogger
return ILogger

Info() public method

public Info ( Exception exception ) : void
exception System.Exception
return void

Info() public method

public Info ( Exception exception, string format ) : void
exception System.Exception
format string
return void

Trace() public method

public Trace ( Exception exception ) : void
exception System.Exception
return void

Trace() public method

public Trace ( Exception exception, string format ) : void
exception System.Exception
format string
return void

Warn() public method

public Warn ( Exception exception ) : void
exception System.Exception
return void

Warn() public method

public Warn ( Exception exception, string format ) : void
exception System.Exception
format string
return void