C# Class Tools.Logging.NLogging

Inheritance: ILog
Mostra file Open project: mdhatmaker/Trading-prime-csharp

Public Methods

Method Description
NLogging ( string sourceName ) : System
Trace ( string message ) : void
TraceDebug ( string message ) : void
TraceError ( string message, Exception exception = null ) : void
TraceException ( string message, Exception exception ) : void
TraceInfo ( string message ) : void
TraceWarn ( string message ) : void

Private Methods

Method Description
SetLogger ( ) : void

Method Details

NLogging() public method

public NLogging ( string sourceName ) : System
sourceName string
return System

Trace() public method

public Trace ( string message ) : void
message string
return void

TraceDebug() public method

public TraceDebug ( string message ) : void
message string
return void

TraceError() public method

public TraceError ( string message, Exception exception = null ) : void
message string
exception Exception
return void

TraceException() public method

public TraceException ( string message, Exception exception ) : void
message string
exception Exception
return void

TraceInfo() public method

public TraceInfo ( string message ) : void
message string
return void

TraceWarn() public method

public TraceWarn ( string message ) : void
message string
return void