terminate static method
Terminate the logger and close the file sink.
Implementation
static Future<void> terminate() async {
Logger.root.clearListeners();
await flush();
await fileSink!.close();
fileSink = null;
}
Terminate the logger and close the file sink.
static Future<void> terminate() async {
Logger.root.clearListeners();
await flush();
await fileSink!.close();
fileSink = null;
}