Db4o engine provides user with a special mechanism showing runtime diagnostics information. This functionality can become your guide to excellent performance and low memory consumption.
Diagnostics can be switched on in the configuration before opening the database file:
.NET: Db4oFactory.Configure().Diagnostic().AddListener(new DiagnosticListener())
where DiagnosticListener is a callback interface tracking diagnostic messages from different parts of the system:
public interface DiagnosticListener {
public void onDiagnostic(Diagnostic d);
}
Db4o provides 2 different listeners:
Every diagnostic message is represented by it's own type, all possible types can be found in the com.db4o.diagnostic package/namespace.
At the present moment the following diagnostic classes are implemented: