IDiagnosticConfiguration Interface

Summary

provides methods to configure the behaviour of db4o diagnostics.
graph BT Type["IDiagnosticConfiguration"] class Type type-node Implementing0["DiagnosticProcessor"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Diagnostic/DiagnosticProcessor"

Syntax

public interface IDiagnosticConfiguration

Remarks

provides methods to configure the behaviour of db4o diagnostics.

Diagnostic system can be enabled on a running db4o database to notify a user about possible problems or misconfigurations. Diagnostic listeners can be be added and removed with calls to this interface. To install the most basic listener call:
commonConfig.Diagnostic.AddListener(new DiagnosticToConsole());

Methods

Name Value Summary
AddListener(IDiagnosticListener) void
adds a DiagnosticListener to listen to Diagnostic messages.
RemoveAllListeners() void
removes all DiagnosticListeners.

See Also

  • IConfiguration.Diagnostic
  • Db4objects.Db4o.Diagnostic.IDiagnosticListener