C# Class NLog.Logger

Show file Open project: sschmid/NLog Class Usage Examples

Public Methods

Method Description
Assert ( bool condition, string message ) : void
Debug ( string message ) : void
Error ( string message ) : void
Fatal ( string message ) : void
Info ( string message ) : void
Logger ( string name ) : System
Trace ( string message ) : void
Warn ( string message ) : void
log ( NLog.LogLevel logLvl, string message ) : void

Method Details

Assert() public method

public Assert ( bool condition, string message ) : void
condition bool
message string
return void

Debug() public method

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

Error() public method

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

Fatal() public method

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

Info() public method

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

Logger() public method

public Logger ( string name ) : System
name string
return System

Trace() public method

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

Warn() public method

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

log() public method

public log ( NLog.LogLevel logLvl, string message ) : void
logLvl NLog.LogLevel
message string
return void