init method
Implementation
@override
Future<Logger> init({
bool? debug,
int days = 3,
String? pathStart,
}) async {
final myDebug = debug ?? false;
final logFile = await getLogFile(myDebug, days: days, pathStart: pathStart);
_logFile = logFile;
return MyLog.init(
level: myDebug ? Level.ALL : Level.INFO,
logFile: File(logFile),
append: !myDebug,
);
}