lumberdashui 0.2.0 copy "lumberdashui: ^0.2.0" to clipboard
lumberdashui: ^0.2.0 copied to clipboard

discontinued

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-web.flutter-io.cn

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
30
pub points
0%
popularity

Publisher

verified publisheruekoetter.dev

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, lumberdash

More

Packages that depend on lumberdashui