C# Class 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).
Inheritance: BaseLogService, ILogServiceFactory
ファイルを表示 Open project: odalet/Hawkeye2

Public Methods

Method Description
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.

Method Details

DebugLogger() public method

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

GetLogger() public method

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

Log() public method

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

Shutdown() public method

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