lazy_log 2.0.1

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

Simple [log] with global [enableLog] to turn on and off and [forced] to override individually.

Simple [log] with global [enableLog] to turn on and off and [forced] to override individually.

Features

NameApi StableDescription
[log]yesSimple log

Getting started

flutter pub add lazy_log

Usage

Import with as lazy as follow:

import 'package:lazy_log/lazy_log.dart' as lazy;

main(){
  lazy.enableLog = false;
  /// Override with [force]
  lazy.log('This is a test', forced: true);
}