Skip to content

rypelabs/flutter_paper_trail

 
 

Repository files navigation

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");

Releases

No releases published

Packages

No packages published

Languages

  • Dart 42.2%
  • Kotlin 22.4%
  • Swift 22.2%
  • Ruby 11.5%
  • Objective-C 1.7%