C# Class CK.Monitoring.GrandOutputHandlers.TextFile

Binary file handler.
Inheritance: HandlerBase
Afficher le fichier Open project: Invenietis/ck-core

Méthodes publiques

Méthode Description
Close ( IActivityMonitor m ) : void

Closes the file if it is opened.

Handle ( GrandOutputEventInfo logEvent, bool parrallelCall ) : void

Writes a log entry (that can actually be a IMulticastLogEntry).

Initialize ( IActivityMonitor m ) : void

Initialization of the handler: computes the path.

TextFile ( TextFileConfiguration config ) : System

Initializes a new TextFile bound to its TextFileConfiguration.

Method Details

Close() public méthode

Closes the file if it is opened.
public Close ( IActivityMonitor m ) : void
m IActivityMonitor The monitor to use to track activity.
Résultat void

Handle() public méthode

Writes a log entry (that can actually be a IMulticastLogEntry).
public Handle ( GrandOutputEventInfo logEvent, bool parrallelCall ) : void
logEvent GrandOutputEventInfo The log entry.
parrallelCall bool True if this is a parrallel call.
Résultat void

Initialize() public méthode

Initialization of the handler: computes the path.
public Initialize ( IActivityMonitor m ) : void
m IActivityMonitor
Résultat void

TextFile() public méthode

Initializes a new TextFile bound to its TextFileConfiguration.
public TextFile ( TextFileConfiguration config ) : System
config TextFileConfiguration The configuration.
Résultat System