flutter_logcat 1.2.2 copy "flutter_logcat: ^1.2.2" to clipboard
flutter_logcat: ^1.2.2 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, I will be very very happy:)


πŸ’˜ 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 #

  • show only 'message'
    #

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

[_ExampleScreenState:30] message
image


  • show 'message' & 'path' #

    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


  • show 'message' & 'tag' #

    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


setting Log's Configure #

  • visible
  • tag
  • time
  • 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

  • if you want to see time this

    Log.configure(visible: [Boolean], time: [Boolean])
Log.configure(visible: true, time: true);
image

3
likes
140
pub points
68%
popularity
screenshot

Publisher

verified publisherdonguran.com

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_logcat