setLogHandler function

void setLogHandler(
  1. void cb(
    1. LogLevel,
    2. String
    )?
)

Set log handler for mdk internal logs

Implementation

void setLogHandler(void Function(LogLevel, String)? cb) {
  _GlobalCallbacks.instance.setLogHandler(cb);
}