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
Показать файл Открыть проект

Открытые методы

Метод Описание
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