skylogger 0.0.1
skylogger: ^0.0.1 copied to clipboard
SkyLogger Flutter is a logger for [SkyAnalytics]
SkyLogger Flutter #
SkyLogger Flutter is an adapter for SkyAnalytics
Installation #
Add the following to your pubspec.yaml file:
dependencies:
skylogger: ^0.1.0
Usage #
import 'package:skylogger/skylogger_flutter.dart';
SkyLogger.error('This is an error');
SkyLogger.debug('This is a debug');
To more control, you can define the folder to store the logs:
SkyLogger.error('This is an error', folder: 'admin');
SkyLogger.debug('This is a debug', folder: 'admin');
Viewing logs #
To view the logs, you can use the SkyLoggerViewer widget
Navigator.push(
context,
MaterialPageRoute(builder: (_) => const SkyLoggerViewer()),
),