The package is an extension for logger. You can add it to any Flutter app. Just shake the phone to show the console.
The package is clone from logger_flutter, and some update:
- fix some bugs
- upgrade logger to latest version
- replace sensors with sensors_plus
Android | iOS | MacOS | Web | Linux | Windows |
---|---|---|---|---|---|
✔️ | ✔️ |
import 'package:logger/logger.dart';
class ScreenOutput extends LogOutput {
@override
void output(OutputEvent event) {
LogConsole.output(event);
}
}
var logger = Logger(
printer: PrettyPrinter(printTime: true, colors: true, printEmojis: true),
output: ScreenOutput());
logger.i("Just a info message");
Copyright (c) 2013-present, Guomeng(Peter) Niu