Last updated:
0 purchases
logger flutter viewer
logger_flutter_viewer #
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
Getting Started #
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");
copied to clipboard
License #
MIT
Copyright (c) 2013-present, Guomeng(Peter) Niu
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.