Last updated:
0 purchases
just logcat
Just Logcat #
Features #
Log.i, Log.d, Log.w, Log.e
Getting started #
flutter pub add just_logcat
flutter pub get
copied to clipboard
Usage #
Info log
...
import 'package:just_logcat/just_logcat.dart';
...
const tag = 'main.dart';
void main() {
Log.i(tag, 'Before running MyApp()');
try {
...
} catch (error, stackTrace) {
Log.i(tag, 'Error: $error', stackTrace: stackTrace);
}
runApp(const MyApp());
}
}
...
copied to clipboard
Debug log
...
import 'package:just_logcat/just_logcat.dart';
...
const tag = 'main.dart';
void main() {
Log.d(tag, 'Before running MyApp()');
try {
...
} catch (error, stackTrace) {
Log.d(tag, 'Error: $error', stackTrace: stackTrace);
}
runApp(const MyApp());
}
}
...
copied to clipboard
Warning log
...
import 'package:just_logcat/just_logcat.dart';
...
const tag = 'main.dart';
void main() {
Log.w(tag, 'Before running MyApp()');
try {
...
} catch (error, stackTrace) {
Log.w(tag, 'Error: $error', stackTrace: stackTrace);
}
runApp(const MyApp());
}
}
...
copied to clipboard
Error log
...
import 'package:just_logcat/just_logcat.dart';
...
const tag = 'main.dart';
void main() {
Log.e(tag, 'Before running MyApp()');
try {
...
} catch (error, stackTrace) {
Log.e(tag, 'Error: $error', stackTrace: stackTrace);
}
runApp(const MyApp());
}
}
...
copied to clipboard
Additional information #
Just logcat
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.