m_log 0.0.2 copy "m_log: ^0.0.2" to clipboard
m_log: ^0.0.2 copied to clipboard

An easy and light wait log library with log color.

m_log #

a lite log utility for the flutter, provide runtime log with different color which became easy to identify at run time, when debug mode print console window, user can adjust log level control log print

Features #

1: debug mode print to console 2: control print log level

Use this package as a library #

  1. Depend on it m_log

Add this to your package's pubspec.yaml file:

dependencies:
  m_log: ^0.0.2
  
  1. Install it

You can install packages from the command line:

with Flutter

$ flutter packages get
  

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

  1. Import it

Now in your Dart code, you can use:

import '../../utility/logger/m_log.dart';
  

How to use #


MLog.d(tag: "MARAJ -->> ",content: "This is D");
MLog.e(tag: "MARAJ -->> ",content: "This is E");
MLog.i(tag: "MARAJ -->> ",content: "This is I");
MLog.v(tag: "MARAJ -->> ",content: "This is V");
MLog.w(tag: "MARAJ -->> ",content: "This is W");

##tag field is optional

6
likes
0
pub points
70%
popularity

Publisher

unverified uploader

An easy and light wait log library with log color.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on m_log