Class Diagnostics
Writer of diagnostics for postmortem analysis.
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class Diagnostics : IDisposable
Fields
persistentDataPath
Declaration
protected string persistentDataPath
Field Value
serializer
Declaration
protected IPluginSerializer serializer
Field Value
Type |
Description |
IPluginSerializer |
|
writeQueue
Declaration
protected BlockingCollection<Diagnostics.Record> writeQueue
Field Value
writeTask
Declaration
Field Value
Properties
SharedSettings
Provide access to the shared configuration. Get and set of settings
is through DiagnosticsSettings
Declaration
public SharedDiagnosticsSettings SharedSettings { get; set; }
Property Value
Methods
createNextFile(DateTime)
Declaration
protected Stream createNextFile(DateTime time)
Parameters
Type |
Name |
Description |
DateTime |
time |
|
Returns
deleteObsoleteFiles()
Declaration
protected void deleteObsoleteFiles()
Dispose()
Free all, after possible wait for finish.
Declaration
processWriteQueue()
Declaration
protected void processWriteQueue()
Start(IPlugin)
Declaration
public void Start(IPlugin plugin)
Parameters
Type |
Name |
Description |
IPlugin |
plugin |
The plugin providing necessary resources
|
Update()
Use a time slice for processing any accrued data.
Declaration