Save custom log message and view in application, share to other develop.
Android | iOS | MacOS | Web | Linux | Windows |
---|---|---|---|---|---|
✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Import package:sublime_log/sublime_log.dart
, and use the SublimeLog.log
to log every information
you want.
Example:
import 'package:sublime_log/sublime_log.dart';
final message = 'Log message';
SublimeLog.log(message: message, tag: 'Label');
To view all the logs or share it to other.
import 'package:sublime_log/sublime_log.dart';
SublimeLog.showLogsPreview(
context,
quotes: [
'First quote',
'Second quote'
],
);