Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: CAMEL-779 support to configure the debugger's logger dynamically

...

You can grab the debugger via the Debugger.getDebugger(context) method or via the Main.getDebugger() method - which returns null if it is not enabled.

You can enable or disable the debugger's logging dynamically, by calling the debugger's setEnable method.

Enabling from Main

To enable debugging from the main run

...