FlutterPaperTrailPlus class

A Flutter plugin for integrating with PaperTrail log service.

Constructors

FlutterPaperTrailPlus()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

initLogger({required String hostName, required int port, required String programName, required String machineName}) Future<String>
Initializes the logger for sending logs to PaperTrail.
logDebug(String message) Future<String>
Logs a debug message to PaperTrail.
logError(String message) Future<String>
Logs an error message to PaperTrail.
logInfo(String message) Future<String>
Logs an informational message to PaperTrail.
logWarning(String message) Future<String>
Logs a warning message to PaperTrail.
setUserId(String userId) Future<String>
Sets the user ID for the logs.