C# Class CK.Monitoring.GrandOutputHandlers.TextFile

Binary file handler.
Inheritance: HandlerBase
Exibir arquivo Open project: Invenietis/ck-core

Public Methods

Method 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 method

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

Handle() public method

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.
return void

Initialize() public method

Initialization of the handler: computes the path.
public Initialize ( IActivityMonitor m ) : void
m IActivityMonitor
return void

TextFile() public method

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