teno_debug 0.0.1 copy "teno_debug: ^0.0.1" to clipboard
teno_debug: ^0.0.1 copied to clipboard

A set of utilities for debugging in Dart

This package is a set of utilities for inspecting on specified logger (dart logging) or bloc.

Features #

  • Filtering Logger ('package:logging/logging.dart')
  • Filtering Bloc ('package:bloc/bloc.dart')

Getting started #

dart pub add dev:teno_debug

Usage #

Please make sure that you don't log for sensitive data and check for right condition before calling these utilities For ex: if (!kReleaseMode) { ... }

void main() {
  debugLog(['Class1', 'otherLoggerName']);

  debugBloc([SampleBloc]);
}

class Class1 {
  static final log = Logger('Class1');
}

class SampleBloc extends Bloc {
  SampleBloc(super.initialState);
}

Additional information #

TODO:

  • Add tests
  • More information
  • Improvement
0
likes
140
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A set of utilities for debugging in Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bloc, logging

More

Packages that depend on teno_debug