Skip to content

The package is an extension for logger. You can add it to any Flutter app. Just shake the phone to show the console.

License

Notifications You must be signed in to change notification settings

niugm/logger_flutter_viewer

Repository files navigation

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:

Platform Support

Android iOS MacOS Web Linux Windows
✔️ ✔️

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");    

License

MIT

Copyright (c) 2013-present, Guomeng(Peter) Niu

About

The package is an extension for logger. You can add it to any Flutter app. Just shake the phone to show the console.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published