RxStorageDefaultLogger<Key extends Object, Options> class
Default Logger's implementation, simply print to the console.
- Implemented types
-
- RxStorageLogger<
Key, Options>
- RxStorageLogger<
- Implementers
Constructors
- RxStorageDefaultLogger({String tag = defaultTag, bool trimValueOutput = false})
-
Construct a RxStorageDefaultLogger.
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.
final
- trimValueOutput → bool
-
If trimValueOutput is true, value text will be trimmed to max maxValueTextLength characters.
final
Methods
-
handleLogEvent(
RxStorageLoggerEvent< Key, Options> event) → bool - This method can be overridden to handle custom RxStorageLoggerEvent implementations or handle the standard events in a different way.
-
keyAndValueToString(
KeyAndValue< Key, Object?> keyAndValue) → String -
log(
RxStorageLoggerEvent< Key, Options> event) → void -
Logs event.
override
-
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
-
concatOptionsIfNotNull(
Object? options, [String separator = ',']) → String
Constants
- defaultTag → const String
- downArrow → const String
- leftArrow → const String
- maxValueTextLength → const int
- rightArrow → const String