flutter_logcat 1.1.6 copy "flutter_logcat: ^1.1.6" to clipboard
flutter_logcat: ^1.1.6 copied to clipboard

you can distribute check Log on Flutter's console. very simple usage!

flutter_logcat_transparent

#

Pub Version


when you click likeπŸ’— this library, I am very very gratulation.
when you click github😺 follow, I am very very very happy.
when you click star⭐ my repository, I am realy realy energized


πŸ’˜ tool🀍 usefulπŸ’š simpleπŸ’™ easyπŸ’› likeπŸ’–


image

πŸš€ struct #

flutter_logcat need only three parameters there are message, tag, path

  • message : if yon want input message to watch on console.
  • tag: this is when you define something tag name.
  • path: if you define true, you can watch file preference path. (default: false)

πŸ’Œ console print #

message tag path output
βœ”οΈ ❌ ❌ [className:lineNumber] message
βœ”οΈ βœ”οΈ ❌ (tag) [className:lineNumber] message
βœ”οΈ ❌ βœ”οΈ [className(packageName/className.dart):lineNumber] message
βœ”οΈ βœ”οΈ βœ”οΈ (tag) [className(packageName/className.dart):lineNumber] message

🌟 usage #

  • control visibleπŸ‘€ to Log.
    Log.configure(visible: [Boolean])
import 'package:flutter/foundation.dart';

Log.configure(visible: kDebugMode);
  • if you want setting default tag
    Log.configure(visible: [Boolean], tag: [String])
Log.configure(visible: kDebugMode, tag: "donguran");

Log.v(...);
Log.i(...);
...

image


  • only message
    Log.v([String]);
Log.v("message");
Log.i("message");
Log.d("message");
Log.w("message");
Log.e("message");

[_ExampleScreenState:30] message
image


  • 'path' parameter put true
    Log.v([String], path: [Boolean])
Log.v("message", path: true);
Log.i("message", path: true);
Log.d("message", path: true);
Log.w("message", path: true);
Log.e("message", path: true);

[_ExampleScreenState(example/main.dart):35] message
image


  • 'tag' parameter
    Log.v([String], tag: [String])
Log.v("message", tag: "donguran");
Log.i("message", tag: "donguran");
Log.d("message", tag: "donguran");
Log.w("message", tag: "donguran");
Log.e("message", tag: "donguran");

(donguran) [_ExampleScreenState(example/main.dart):48] message
image



6
likes
0
pub points
67%
popularity

Publisher

verified publisherdonguran.com

you can distribute check Log on Flutter's console. very simple usage!

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_logcat