C# 클래스 Hawkeye.Logging.LogManager.DebugLogger

This Logging service implementation logs its entries to the Visual Studio output Window.
It is used by the LogManager so that an implementation of ILogServiceFactory is available in design mode; otherwise, Visual Studio crashes (because of static readonly log initializations in forms and controls).
상속: BaseLogService, ILogServiceFactory
파일 보기 프로젝트 열기: odalet/Hawkeye2

공개 메소드들

메소드 설명
DebugLogger ( Type type ) : System

Initializes a new instance of the DebugLogger class.

GetLogger ( Type type, object>.System additionalData = null ) : ILogService
Log ( ILogEntry entry ) : void

Logs the specified log entry.

Shutdown ( ) : void

Closes all the resources held by the various loggers.

메소드 상세

DebugLogger() 공개 메소드

Initializes a new instance of the DebugLogger class.
public DebugLogger ( Type type ) : System
type System.Type The type.
리턴 System

GetLogger() 공개 메소드

public GetLogger ( Type type, object>.System additionalData = null ) : ILogService
type System.Type
additionalData object>.System
리턴 ILogService

Log() 공개 메소드

Logs the specified log entry.
public Log ( ILogEntry entry ) : void
entry ILogEntry The entry to log.
리턴 void

Shutdown() 공개 메소드

Closes all the resources held by the various loggers.
public Shutdown ( ) : void
리턴 void