lumberdash icon

Do you need logs? Lumberdash is the answer! With a simple but powerful API, Lumberdash is the easiest way to record logs. And if that is not enough, you can extend its API and create your own custom plugins for your own logging needs.

How it works

Simply putLumberdashToWork with your preferred LumberdashClient, and start logging!

import 'package:lumberdash/lumberdash.dart';

void main() {
  putLumberdashToWork(withClient: SimpleClient());
  logWarning('Hello Warning');
  logFatal('Hello Fatal!');
  logMessage('Hello Message!');
  logError(Exception('Hello Error'));
}

However, you can get the best of Lumberdash by using plugins! For example, by using the colorize_lumberdash, you could print logs in stdout with colors:

import 'package:lumberdash/lumberdash.dart';
import 'package:colorize_lumberdash/colorize_lumberdash_client.dart';

void main() {
  putLumberdashToWork(withClient: ColorizeLumberdash());
  logWarning('Hello Warning');
  logFatal('Hello Fatal!');
  logMessage('Hello Message!');
  logError(Exception('Hello Error'));
}

You can get this output:

colorized

Existing plugins

How to create a Lumberdash plugin

Add lumberdash to your dependencies, and extend the LumberdashClient. That easy!

You can see the SimpleClient in this package as inspiration.

[Part 2] Code generation in Dart: Annotations, source_gen and build_runner

Tutorial published on the Flutter Community site about code generation in Dart. This is a follow-up of [Part 1] Code generation in Dart: the basics.

Slides can be found here: droidcon NYC 2018

Ozzie: our new testing friend

Announcing the release of ozzie.flutter, a library that runs during Flutter integration tests to capture screenshots of your application. This post was published in the Flutter Community site

[Part 1] Code generation in Dart: the basics

Tutorial published on the Flutter Community site about code generation in Dart.