m_log

Last updated:

0 purchases

m_log Image
m_log Images
Add to Cart

Description:

m log

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 #

Depend on it m_log

Add this to your package's pubspec.yaml file:
dependencies:
m_log: ^0.0.6

copied to clipboard

Install it

You can install packages from the command line:
with Flutter
$ flutter pub add m_log

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

Import it

Now in your Dart code, you can use:
import 'package:m_log/m_log.dart';

copied to clipboard
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");

copied to clipboard
Output #

tag field is optional #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.