lumberdashui 0.2.0
lumberdashui: ^0.2.0

Flutter Android iOS web

A lumberdash client wich shows the logs in a widget inside your app.

Lumberdash UI #

Pub

A lumberdash client wich shows the logs in a widget inside your app.

It shows the logs and can filter based on verbosity, and it can search through your logs. It also has support for light and dark modes.

Example

Setup #

First, you will need to add lumberdashui to your pubspec.yaml:

dependencies:
  flutter:
    sdk: flutter
  lumberdashui: x.y.z # use the latest version found on pub.dev

Then, run flutter packages get in your terminal.

Usage #

// import lumberdash and lumberdashui
import 'package:lumberdash/lumberdash.dart';
import 'package:lumberdashui/lumberdashui.dart';

// add LumberdashUiClient() to your lumberdash clients
putLumberdashToWork(withClients: [LumberdashUiClient()]);

// log some logs
logMessage('Example message');
logWarning('Example warning');
logFatal('Example fatal');
logError(Exception('Example exception'));

// open log console
RaisedButton(
  child: Text('open log console'),
  onPressed: () {
    Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) {
          return LogConsole();
        },
      ),
    );
  },
)

See here for a full example.

1
likes
110
pub points
40%
popularity

Publisher

uekoetter.dev

A lumberdash client wich shows the logs in a widget inside your app.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

flutter, lumberdash

More

Packages that depend on lumberdashui