dart_minilog 0.0.1 dart_minilog: ^0.0.1 copied to clipboard
Basic and minimalistic log system. Few log levels only. No fancy log sinks. Either print, file, or a custom sink that your code provides.
import 'package:dart_minilog/dart_minilog.dart';
void main(List<String> args) async {
sink = fileSink('mini.log');
somewhereElse();
}
void somewhereElse() {
logWarn('where am i?');
}