first commit
This commit is contained in:
11
lib/helper/logger.dart
Normal file
11
lib/helper/logger.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
import 'package:logger/logger.dart';
|
||||
|
||||
var logger = Logger(
|
||||
printer: PrettyPrinter(
|
||||
methodCount: 2, // Number of method calls to be displayed
|
||||
errorMethodCount: 8, // Number of method calls if stacktrace is provided
|
||||
lineLength: 300, // Width of the output
|
||||
colors: true, // Colorful log messages
|
||||
printEmojis: true, // Print an emoji for each log message
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user