C# Class CK.Monitoring.GrandOutputHandlers.BinaryFile

Binary file handler.
Inheritance: HandlerBase
ファイルを表示 Open project: Invenietis/ck-core

Public Methods

Method Description
BinaryFile ( BinaryFileConfiguration config ) : System

Initializes a new BinaryFile bound to its BinaryFileConfiguration.

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.

Method Details

BinaryFile() public method

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

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