DVObservabilityAndLogging class

Constructors

DVObservabilityAndLogging()
const

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

diagnostic(String name, Map<String, Object> data) → Future<void>
error(Object error, {StackTrace? stackTrace, Map<String, Object>? context}) → Future<void>
An error as a log record at error level.
event(String name, [Map<String, Object>? parameters]) → Future<void>
log(String message, {DVLogLevel level = DVLogLevel.info, String? tag, Map<String, Object?> context = const <String, Object?>{}, String? code, Object? error, StackTrace? stackTrace}) → void
One record, the same as DV.log(...). It used to print the message and send the whole record to product analytics as an event -- logs in a store that is consented to for a different purpose, and no log at all.
metric(String name, num value, {Map<String, Object>? tags}) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
profile<T>(String name, FutureOr<T> callback(), {Map<String, Object>? context}) → Future<T>
screen(String name, {String? screenClass}) → Future<void>
toString() → String
A string representation of this object.
inherited
trace<T>(String name, FutureOr<T> callback(), {Map<String, Object>? context}) → Future<T>

Operators

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