RxSharedPreferencesDefaultLogger class

Default RxSharedPreferencesLogger's implementation, simply print to the console.

Inheritance
Implemented types

Constructors

RxSharedPreferencesDefaultLogger({String tag = defaultTag, bool trimValueOutput = false})
Construct a RxSharedPreferencesDefaultLogger.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String
Log tag.
finalinherited
trimValueOutput bool
If trimValueOutput is true, value text will be trimmed to max maxValueTextLength characters.
finalinherited

Methods

handleLogEvent(RxStorageLoggerEvent<String, void> event) bool
This method can be overridden to handle custom RxStorageLoggerEvent implementations or handle the standard events in a different way.
override
keyAndValueToString(KeyAndValue<String, Object?> keyAndValue) String
inherited
log(RxStorageLoggerEvent<String, void> event) → void
Logs event.
inherited
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

Constants

defaultTag → const String
Default logger tag.