Flutter Plugin for logging to Papertrail (https://papertrailapp.com)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
android
example
ios
lib
res/values
.gitignore
CHANGELOG.md
LICENSE
README.md
flutter_paper_trail.iml
flutter_paper_trail_android.iml
pubspec.yaml

README.md

flutter_paper_trail

Send logs to Papertrail

Usage

Setup:

import 'package:flutter_paper_trail/flutter_paper_trail.dart';

FlutterPaperTrail.initLogger(
        hostName: "secret.papertrailapp.com",
        programName: "flutter-test-app",
        port: 9999,
        machineName: "Simulator(iPhone8)");
    //for machine name use Flutter DeviceInfoPlugin

Calling:

FlutterPaperTrail.logError("My message");

Extra setup (when a user is logged in):

FlutterPaperTrail.setUserId("JohnDeer391");