CustomLogCollector class
Custom log collector for other services
- Implemented types
Constructors
-
CustomLogCollector.new({required Future<
void> collectFunction(LogEntry entry), Future<void> initFunction()?, Future<void> disposeFunction()?})
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
-
collect(
LogEntry entry) → Future< void> -
Send log entry to external service
override
-
dispose(
) → Future< void> -
Clean up resources
override
-
initialize(
) → Future< void> -
Initialize the collector
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