C# 클래스 BalloonsPop.Common.Gadgets.Log4NetWrapper

A wrapper class over Log4Net.
상속: ILogger
파일 보기 프로젝트 열기: Baloons-Pop-4/Main

공개 메소드들

메소드 설명
Error ( string message, Exception exception = null ) : void

Log a message with the log4net.Core.Level.Error level including the stack trace of the System.Exception passed as a parameter.

Fatal ( string message, Exception exception = null ) : void

Log a message with the log4net.Core.Level.Fatal level including the stack trace of the System.Exception passed as a parameter.

Info ( string message, Exception exception = null ) : void

Log a message with the log4net.Core.Level.Debug level including the stack trace of the System.Exception passed as a parameter.

Log4NetWrapper ( string filename ) : System

Initializes a new instance of the Log4NetWrapper class.

Warn ( string message, Exception exception = null ) : void

Log a message with the log4net.Core.Level.Warn level including the stack trace of the System.Exception passed as a parameter.

메소드 상세

Error() 공개 메소드

Log a message with the log4net.Core.Level.Error level including the stack trace of the System.Exception passed as a parameter.
public Error ( string message, Exception exception = null ) : void
message string The message to log.
exception System.Exception The exception to log, including its stack trace.
리턴 void

Fatal() 공개 메소드

Log a message with the log4net.Core.Level.Fatal level including the stack trace of the System.Exception passed as a parameter.
public Fatal ( string message, Exception exception = null ) : void
message string The message to log.
exception System.Exception The exception to log, including its stack trace.
리턴 void

Info() 공개 메소드

Log a message with the log4net.Core.Level.Debug level including the stack trace of the System.Exception passed as a parameter.
public Info ( string message, Exception exception = null ) : void
message string The message to log.
exception System.Exception The exception to log, including its stack trace.
리턴 void

Log4NetWrapper() 공개 메소드

Initializes a new instance of the Log4NetWrapper class.
public Log4NetWrapper ( string filename ) : System
filename string The name of the file using logger.
리턴 System

Warn() 공개 메소드

Log a message with the log4net.Core.Level.Warn level including the stack trace of the System.Exception passed as a parameter.
public Warn ( string message, Exception exception = null ) : void
message string The message to log.
exception System.Exception The exception to log, including its stack trace.
리턴 void