Logger class

Utility class for logging in the BlueStack SDK.

This class provides different logging levels and handles debug/production environments appropriately.

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

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

addLogTarget(LogTarget target) → void
Adds a new logging target
clearLogTargets() → void
Clears all logging targets
debug(String tag, String message) → void
Logs a debug message (only in debug mode)
error(String tag, dynamic error, [StackTrace? stackTrace]) → void
Logs an error with optional stack trace
info(String tag, String message) → void
Logs an info message
removeLogTarget(LogTarget target) → void
Removes a logging target
warning(String tag, String message) → void
Logs a warning message