LogAdapter class abstract

Abstract interface for logging functionality.

This adapter allows logging at various levels (debug, info, warning, error), and supports tagging and optional location tracking. Implementations can customize how logs are handled (e.g., console, file, remote).

Implementers

Constructors

LogAdapter.new()

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

debug(String message, {String tag = defaultTag, bool loc = false}) → void
Logs a debug-level message.
error(String message, {String tag = defaultTag, bool loc = false}) → void
Logs an error message.
info(String message, {String tag = defaultTag, bool loc = false}) → void
Logs an informational message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
warn(String message, {String tag = defaultTag, bool loc = false}) → void
Logs a warning message.

Operators

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