Package com.db4o.diagnostic
Class DiagnosticToConsole
- java.lang.Object
-
- com.db4o.diagnostic.DiagnosticToConsole
-
- All Implemented Interfaces:
DiagnosticListener
public class DiagnosticToConsole extends java.lang.Object implements DiagnosticListener
prints Diagnostic messsages to the Console. Install thisDiagnosticListener
with:
EmbeddedConfiguration config = Db4oEmbedded.newConfiguration();
config.common().diagnostic().addListener(new DiagnosticToConsole());- See Also:
DiagnosticConfiguration
-
-
Constructor Summary
Constructors Constructor Description DiagnosticToConsole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDiagnostic(Diagnostic d)
redirects Diagnostic messages to the Console.
-
-
-
Method Detail
-
onDiagnostic
public void onDiagnostic(Diagnostic d)
redirects Diagnostic messages to the Console.- Specified by:
onDiagnostic
in interfaceDiagnosticListener
-
-