setLogger

open fun setLogger(@Nullable logger: @Nullable Log.Sink<in Category>)

Sets the sink receiving the log entries emitted by the firmware upgrade.

The entries are reported under DFU, except for those emitted by the managers used internally. Set to null (the default) to stop logging.

Since

4.0

Parameters

logger

the sink to receive the log entries, or null.