C# 클래스 Topshelf.Logging.NLogLogWriter

A logger that wraps to NLog. See http://stackoverflow.com/questions/7412156/how-to-retain-callsite-information-when-wrapping-nlog
상속: LogWriter
파일 보기 프로젝트 열기: phatboyg/Topshelf

공개 메소드들

메소드 설명
Debug ( LogWriterOutputProvider messageProvider ) : void
Debug ( object obj ) : void
Debug ( object obj, Exception exception ) : void
DebugFormat ( IFormatProvider formatProvider, string format ) : void
DebugFormat ( string format ) : void
Error ( LogWriterOutputProvider messageProvider ) : void
Error ( object obj ) : void
Error ( object obj, Exception exception ) : void
ErrorFormat ( IFormatProvider formatProvider, string format ) : void
ErrorFormat ( string format ) : void
Fatal ( LogWriterOutputProvider messageProvider ) : void
Fatal ( object obj ) : void
Fatal ( object obj, Exception exception ) : void
FatalFormat ( IFormatProvider formatProvider, string format ) : void
FatalFormat ( string format ) : void
Info ( LogWriterOutputProvider messageProvider ) : void
Info ( object obj ) : void
Info ( object obj, Exception exception ) : void
InfoFormat ( IFormatProvider formatProvider, string format ) : void
InfoFormat ( string format ) : void
Log ( Topshelf.Logging.LoggingLevel level, LogWriterOutputProvider messageProvider ) : void
Log ( Topshelf.Logging.LoggingLevel level, object obj ) : void
Log ( Topshelf.Logging.LoggingLevel level, object obj, Exception exception ) : void
LogFormat ( Topshelf.Logging.LoggingLevel level, IFormatProvider formatProvider, string format ) : void
LogFormat ( Topshelf.Logging.LoggingLevel level, string format ) : void
NLogLogWriter ( Logger log, string name ) : System

Create a new NLog logger instance.

Warn ( LogWriterOutputProvider messageProvider ) : void
Warn ( object obj ) : void
Warn ( object obj, Exception exception ) : void
WarnFormat ( IFormatProvider formatProvider, string format ) : void
WarnFormat ( string format ) : void

비공개 메소드들

메소드 설명
GetNLogLevel ( Topshelf.Logging.LoggingLevel level ) : LogLevel
ToGenerator ( LogWriterOutputProvider provider ) : LogMessageGenerator

메소드 상세

Debug() 공개 메소드

public Debug ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
리턴 void

Debug() 공개 메소드

public Debug ( object obj ) : void
obj object
리턴 void

Debug() 공개 메소드

public Debug ( object obj, Exception exception ) : void
obj object
exception System.Exception
리턴 void

DebugFormat() 공개 메소드

public DebugFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider
format string
리턴 void

DebugFormat() 공개 메소드

public DebugFormat ( string format ) : void
format string
리턴 void

Error() 공개 메소드

public Error ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
리턴 void

Error() 공개 메소드

public Error ( object obj ) : void
obj object
리턴 void

Error() 공개 메소드

public Error ( object obj, Exception exception ) : void
obj object
exception System.Exception
리턴 void

ErrorFormat() 공개 메소드

public ErrorFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider
format string
리턴 void

ErrorFormat() 공개 메소드

public ErrorFormat ( string format ) : void
format string
리턴 void

Fatal() 공개 메소드

public Fatal ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
리턴 void

Fatal() 공개 메소드

public Fatal ( object obj ) : void
obj object
리턴 void

Fatal() 공개 메소드

public Fatal ( object obj, Exception exception ) : void
obj object
exception System.Exception
리턴 void

FatalFormat() 공개 메소드

public FatalFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider
format string
리턴 void

FatalFormat() 공개 메소드

public FatalFormat ( string format ) : void
format string
리턴 void

Info() 공개 메소드

public Info ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
리턴 void

Info() 공개 메소드

public Info ( object obj ) : void
obj object
리턴 void

Info() 공개 메소드

public Info ( object obj, Exception exception ) : void
obj object
exception System.Exception
리턴 void

InfoFormat() 공개 메소드

public InfoFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider
format string
리턴 void

InfoFormat() 공개 메소드

public InfoFormat ( string format ) : void
format string
리턴 void

Log() 공개 메소드

public Log ( Topshelf.Logging.LoggingLevel level, LogWriterOutputProvider messageProvider ) : void
level Topshelf.Logging.LoggingLevel
messageProvider LogWriterOutputProvider
리턴 void

Log() 공개 메소드

public Log ( Topshelf.Logging.LoggingLevel level, object obj ) : void
level Topshelf.Logging.LoggingLevel
obj object
리턴 void

Log() 공개 메소드

public Log ( Topshelf.Logging.LoggingLevel level, object obj, Exception exception ) : void
level Topshelf.Logging.LoggingLevel
obj object
exception System.Exception
리턴 void

LogFormat() 공개 메소드

public LogFormat ( Topshelf.Logging.LoggingLevel level, IFormatProvider formatProvider, string format ) : void
level Topshelf.Logging.LoggingLevel
formatProvider IFormatProvider
format string
리턴 void

LogFormat() 공개 메소드

public LogFormat ( Topshelf.Logging.LoggingLevel level, string format ) : void
level Topshelf.Logging.LoggingLevel
format string
리턴 void

NLogLogWriter() 공개 메소드

Create a new NLog logger instance.
public NLogLogWriter ( Logger log, string name ) : System
log Logger
name string Name of type to log as.
리턴 System

Warn() 공개 메소드

public Warn ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
리턴 void

Warn() 공개 메소드

public Warn ( object obj ) : void
obj object
리턴 void

Warn() 공개 메소드

public Warn ( object obj, Exception exception ) : void
obj object
exception Exception
리턴 void

WarnFormat() 공개 메소드

public WarnFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider
format string
리턴 void

WarnFormat() 공개 메소드

public WarnFormat ( string format ) : void
format string
리턴 void