enableLogs static method
Enables logs. If the custom handler
is not provided - then print function will be used.
Implementation
static void enableLogs({LogHandler? handler}) {
_handler = handler ?? print;
_logsEnabled = true;
}
Enables logs. If the custom handler
is not provided - then print function will be used.
static void enableLogs({LogHandler? handler}) {
_handler = handler ?? print;
_logsEnabled = true;
}