setLogFunction method

void setLogFunction(
  1. void fn(
    1. LogLevel logLevel,
    2. dynamic args
    )
)

Implementation

void setLogFunction(void Function(LogLevel logLevel, dynamic args) fn) {
 _customPrint = fn;
}