Logs class

Constructors

Logs()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
level ↔ Level
getter/setter pair
nativeColors ↔ bool
getter/setter pair
onLog ↔ LogCallback?
Callback to receive log events for external logging (e.g., Sentry). Called before console output on all platforms including web.
getter/setter pair
outputEvents → List<LogEvent>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLogEvent(LogEvent logEvent) → void
d(String title, [Object? exception, StackTrace? stackTrace]) → void
e(String title, [Object? exception, StackTrace? stackTrace]) → void
i(String title, [Object? exception, StackTrace? stackTrace]) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
v(String title, [Object? exception, StackTrace? stackTrace]) → void
w(String title, [Object? exception, StackTrace? stackTrace]) → void
wtf(String title, [Object? exception, StackTrace? stackTrace]) → void

Operators

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

Static Properties

stackTraceConverter ↔ StackTrace? Function(StackTrace?)
Override this function if you want to convert a stacktrace for some reason for example to apply a source map in the browser.
getter/setter pair