kopia lustrzana https://gitlab.com/mysocialportal/relatica
Add logging prints for real builds
rodzic
09afbf14cb
commit
0c55723b04
|
@ -26,12 +26,12 @@ void main() async {
|
|||
await dotenv.load(fileName: '.env');
|
||||
Logger.root.level = Level.FINER;
|
||||
|
||||
// Logger.root.onRecord.listen((event) {
|
||||
// final logName = event.loggerName.isEmpty ? 'ROOT' : event.loggerName;
|
||||
// final msg =
|
||||
// '${event.level.name} - $logName @ ${event.time}: ${event.message}';
|
||||
// print(msg);
|
||||
// });
|
||||
Logger.root.onRecord.listen((event) {
|
||||
final logName = event.loggerName.isEmpty ? 'ROOT' : event.loggerName;
|
||||
final msg =
|
||||
'${event.level.name} - $logName @ ${event.time}: ${event.message}';
|
||||
print(msg);
|
||||
});
|
||||
|
||||
final authService = AuthService();
|
||||
final secretsService = SecretsService();
|
||||
|
|
Ładowanie…
Reference in New Issue