debug method
Logs a development-exclusive diagnostic entry containing context payloads and errors.
Short-circuits immediately outside of debug environments to secure optimal execution speed.
Implementation
@override
void debug(String message, {Object? error, StackTrace? stackTrace}) {
if (!kDebugMode) return;
_executeLogPipeline(
LogDetails(
message: message,
level: LogLevel.debug,
pen: LoggerStyles.cyan,
error: error,
stackTrace: stackTrace,
),
);
}