Crispin class

Crispin Logger for Dart and Flutter

Constructors

Crispin()
Crispin Logger for Dart and Flutter
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transportCount int
no setter

Methods

addTransport(CrispinTransport value) → void
Add transport to the logger
debug(String message, {Object? meta, StackTrace? stackTrace}) → void
Call all enabled transport debug methods
error(String message, {Object? error, StackTrace? stackTrace}) → void
Call all enabled transport error methods
info(String message, {Object? meta, StackTrace? stackTrace}) → void
Call all enabled transport info methods While the benefit depends on the transports, we recommend to invoking with stackTrace e.g. Crispin().info('..', stackTrace: StackTrace.current)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAllTransports() → void
Mostly used for unit testing in your code
removeTransportByType(Type type) → void
Remove a transport by Type
silly(String message, {Object? meta, StackTrace? stackTrace}) → void
Call all enabled transport silly methods
toString() String
A string representation of this object.
inherited
warn(String message, {Object? meta, StackTrace? stackTrace}) → void
Call all enabled transport warn methods While the benefit depends on the transports, we recommend to invoking with stackTrace e.g. Crispin().warn('..', stackTrace: StackTrace.current)

Operators

operator ==(Object other) bool
The equality operator.
inherited