feat: добавил logging framework
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import 'package:logger/logger.dart';
|
||||
|
||||
final logger = Logger(
|
||||
// устанавливает минимальный уровень логов.
|
||||
// доступны уровни: all, trace, debug, info, warning, error, fatal, off
|
||||
level: Level.info,
|
||||
printer: PrettyPrinter(
|
||||
methodCount: 0,
|
||||
errorMethodCount: 5,
|
||||
lineLength: 80,
|
||||
colors: true,
|
||||
printEmojis: true,
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user