PrismaLogEmitter class abstract
Log emitter
Constructors
-
PrismaLogEmitter(Iterable<
PrismaLogDefinition> definitions) -
Create a new log emitter
factory
Properties
-
definitions
→ Iterable<
PrismaLogDefinition> -
Returns log definitions.
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
-
emit(
PrismaLogLevel level, Exception exception) → void - Emit a log message
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on(
Set< PrismaLogLevel> levels, PrismaLogHandler handler) → void - Register a log handler.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited