set Custom Log Callback
Registers a callback for a fully customizable way of handling log "events" from the logger (on top of logging to the console, and to a file, if any).
Parameters
log Callback
a callback that can be null
, in which case the current callback, if any, is unregistered. Otherwise it is called each time a log statement is issued by Ditto (after filtering by log level).
Registers a callback for a fully customizable way of handling log "events" from the logger (on top of logging to the console, and to a file, if any).
Version to be used when interacting with the SDK from Java.
Parameters
log Cb
a callback that can't be null
. It is called each time a log statement is issued by Ditto (after filtering by log level).