skylogger 0.0.3 copy "skylogger: ^0.0.3" to clipboard
skylogger: ^0.0.3 copied to clipboard

SkyLogger Flutter is a logger for [SkyAnalytics]

pub package

SkyLogger Flutter #

SkyLogger Flutter is a logger to 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()),
),

Exporting logs #

To export the logs as a ZIP file, you can use the LoggerReader.zipLogs() method

final zipFile = await LoggerReader.zipLogs();
0
likes
140
points
51
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

SkyLogger Flutter is a logger for [SkyAnalytics]

Repository (GitHub)
View/report issues

License

Apache-2.0, MIT (license)

Dependencies

archive, flutter, path_provider

More

Packages that depend on skylogger