C# 클래스 LogSpy.Core.Infrastructure.Log4NetLogger

Represents a log4net logger adapter that can be used by Prism
상속: ILoggerFacade
파일 보기 프로젝트 열기: jenrom/LogSpy

공개 메소드들

메소드 설명
Log ( string message, Category category, Priority priority ) : void

Write a new log entry with the specified category and priority.

Log4NetLogger ( ) : System

Initializes the log4net logger using app.config

Log4NetLogger ( log4net.ILog destinationLog ) : System

Initializes the log4net adapter with a previously created loggers

메소드 상세

Log() 공개 메소드

Write a new log entry with the specified category and priority.
public Log ( string message, Category category, Priority priority ) : void
message string Message body to log.
category Category Category of the entry.
priority Priority The priority of the entry.
리턴 void

Log4NetLogger() 공개 메소드

Initializes the log4net logger using app.config
public Log4NetLogger ( ) : System
리턴 System

Log4NetLogger() 공개 메소드

Initializes the log4net adapter with a previously created loggers
public Log4NetLogger ( log4net.ILog destinationLog ) : System
destinationLog log4net.ILog
리턴 System