AirLogger class

Centralized logging system for the Air framework Only logs in debug mode to prevent information exposure in production

Constructors

AirLogger()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
logs List<AirLogEntry>
Get logs for DevTools
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearLogs() → void
Clear logs (for testing)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

debug(String message, {Map<String, dynamic>? context}) → void
Log a debug message
error(String message, {Object? error, StackTrace? stackTrace, Map<String, dynamic>? context}) → void
Log an error message
info(String message, {Map<String, dynamic>? context}) → void
Log an info message
security(String message, {Map<String, dynamic>? context}) → void
Log a security-related event
warning(String message, {Map<String, dynamic>? context}) → void
Log a warning message