onLog method
Implementation
@override
void onLog(LogRecord record) {
_file.writeAsStringSync(
'\n${record.message}',
mode: FileMode.append,
);
}
@override
void onLog(LogRecord record) {
_file.writeAsStringSync(
'\n${record.message}',
mode: FileMode.append,
);
}