Class DiagnosticToConsole

  • All Implemented Interfaces:
    DiagnosticListener

    public class DiagnosticToConsole
    extends java.lang.Object
    implements DiagnosticListener
    prints Diagnostic messsages to the Console. Install this DiagnosticListener with:
    EmbeddedConfiguration config = Db4oEmbedded.newConfiguration();
    config.common().diagnostic().addListener(new DiagnosticToConsole());

    See Also:
    DiagnosticConfiguration
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onDiagnostic​(Diagnostic d)
      redirects Diagnostic messages to the Console.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiagnosticToConsole

        public DiagnosticToConsole()