C# Class Hawkeye.Logging.BaseLogService

Abstract base class allowing for a quick implementation of a logging service.
Inheritance: ILogService
Afficher le fichier Open project: odalet/Hawkeye2

Méthodes publiques

Méthode Description
Log ( ILogEntry entry ) : void

Logs the specified log entry.

MakeLogEntry ( LogLevel level, string message, Exception exception ) : ILogEntry

Makes a ILogEntry object from the specified parameters.

Method Details

Log() public abstract méthode

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

MakeLogEntry() public méthode

Makes a ILogEntry object from the specified parameters.
public MakeLogEntry ( LogLevel level, string message, Exception exception ) : ILogEntry
level LogLevel The trace level.
message string The message object.
exception System.Exception The exception.
Résultat ILogEntry