LoggingObserver class
A beacon observer that logs to the console.
- Implemented types
Constructors
-
LoggingObserver({List<
String> ? includeNames, List<String> ? excludeNames}) - @macro LoggingObserver
Properties
-
excludeNames
→ List<
String> ? -
The names of beacons to exclude from the logs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includeNames
→ List<
String> ? -
The names of beacons to include in the logs.
final
- 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
-
onCreate(
ReadableBeacon beacon, bool lazy) → void -
Called when a beacon is created
override
-
onDispose(
ReadableBeacon beacon) → void -
Called when a beacon is disposed
override
-
onStopWatch(
String effectName, BaseBeacon beacon) → void -
Called when a beacon is no longer watched by an effect or derived beacon
override
-
onUpdate(
ReadableBeacon beacon) → void -
Called when a beacon is updated
override
-
onWatch(
String effectName, BaseBeacon beacon) → void -
Called when a beacon is watched by an effect or derived beacon
override
-
shouldContinue(
String name) → bool -
Returns whether the beacon with the given
name
should be logged. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited