SLogger class

A very simple Logger singleton class without external logger dependencies.

Logs to console and a database on the device.

Constructors

SLogger()
factory

Properties

dbPath String?
no setter
doConsoleLogging bool
getter/setter pair
folder String?
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearLog() → void
Delete all the log db content.
d(dynamic message) → void
e(dynamic message, Exception? e, StackTrace? stackTrace) → void
getLogItems({int? limit}) List<GpLogItem>?
Get the current list of log items.
i(dynamic message) → void
init(String folder) bool?
Initialize database logging. Without this call, everything goes just to standard out.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
v(dynamic message) → void
w(dynamic message) → void

Operators

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