trace 0.0.5-prerelease trace: ^0.0.5-prerelease copied to clipboard
Trace is a minimalistic logger for your Dart & Flutter projects, that uses AnsiX to print customizable messages in terminal and export log files.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add trace
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
trace: ^0.0.5-prerelease
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:trace/trace.dart';