TracklyDeveloperOutput class

Sends records to dart:developer's log, which shows them in the Logging tab of Dart & Flutter DevTools, with filtering by level and tag.

Also shows logs in IDE debug consoles, but not in the flutter run terminal. Combine it with TracklyConsoleOutput to get both:

TracklyLogger.output = const TracklyMultiOutput([
  TracklyConsoleOutput(),
  TracklyDeveloperOutput(),
]);
Inheritance

Constructors

TracklyDeveloperOutput({String defaultName = 'trackly'})
Creates an output that logs to dart:developer.
const

Properties

defaultName → String
The log name used for records without a tag.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

format(TracklyRecord record) → String
The message passed to dart:developer's log for record.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
write(TracklyRecord record) → void
Handles a single record.
override

Operators

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