C# Class CK.Monitoring.CKMonWriterClient

This client writes .ckmon files for one monitor. To close output file, simply unregister this client.
Inheritance: IActivityMonitorBoundClient, IMulticastLogInfo
Afficher le fichier Open project: Invenietis/ck-core

Private Properties

Свойство Type Description
IActivityMonitorBoundClient void
IActivityMonitorClient void
IActivityMonitorClient void
IActivityMonitorClient void
IActivityMonitorClient void
IActivityMonitorClient void
IActivityMonitorClient void

Méthodes publiques

Méthode Description
CKMonWriterClient ( string path, int maxCountPerFile ) : System

Initializes a new instance of CKMonWriterClient that can be registered to write uncompressed .ckmon file for this monitor.

CKMonWriterClient ( string path, int maxCountPerFile, LogFilter minimalFilter, bool useGzipCompression = false ) : System

Initializes a new instance of CKMonWriterClient that can be registered to write compressed or uncompressed .ckmon file for this monitor.

Close ( ) : void

Closes this writer if it IsOpened. It can be re-Opened later.

Open ( ) : bool

Opens this writer if it is not already opened.

Private Methods

Méthode Description
IActivityMonitorBoundClient ( IActivityMonitorImpl source, bool forceBuggyRemove ) : void
IActivityMonitorClient ( ActivityMonitorLogData data ) : void
IActivityMonitorClient ( CKTrait newTrait ) : void
IActivityMonitorClient ( IActivityLogGroup group ) : void
IActivityMonitorClient ( IActivityLogGroup group, IReadOnlyList conclusions ) : void
IActivityMonitorClient ( IActivityLogGroup group, List &conclusions ) : void
IActivityMonitorClient ( string newTopic, string fileName, int lineNumber ) : void

Method Details

CKMonWriterClient() public méthode

Initializes a new instance of CKMonWriterClient that can be registered to write uncompressed .ckmon file for this monitor.
public CKMonWriterClient ( string path, int maxCountPerFile ) : System
path string The path. Can be absolute. When relative, it will be under that must be set.
maxCountPerFile int Maximum number of entries per file. Must be greater than 1.
Résultat System

CKMonWriterClient() public méthode

Initializes a new instance of CKMonWriterClient that can be registered to write compressed or uncompressed .ckmon file for this monitor.
public CKMonWriterClient ( string path, int maxCountPerFile, LogFilter minimalFilter, bool useGzipCompression = false ) : System
path string The path. Can be absolute. When relative, it will be under that must be set.
maxCountPerFile int Maximum number of entries per file. Must be greater than 1.
minimalFilter CK.Core.LogFilter Minimal filter for this client.
useGzipCompression bool Whether to output compressed .ckmon files. Defaults to false (do not compress).
Résultat System

Close() public méthode

Closes this writer if it IsOpened. It can be re-Opened later.
public Close ( ) : void
Résultat void

Open() public méthode

Opens this writer if it is not already opened.
public Open ( ) : bool
Résultat bool