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
Afficher le fichier Open project: odalet/Hawkeye2

Méthodes publiques

Méthode 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 méthode

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

GetLogger() public méthode

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

Log() public méthode

Logs the specified log entry.
public Log ( ILogEntry entry ) : void
entry ILogEntry The entry to log.
Résultat void

Shutdown() public méthode

Closes all the resources held by the various loggers.
public Shutdown ( ) : void
Résultat void