Creates a structured logger with a bounded in-memory ring buffer.
Records a debug message.
Optionaldetails: Record<string, unknown>Records an informational message.
Optionaldetails: Record<string, unknown>Records a warning message.
Optionaldetails: Record<string, unknown>Records an error message.
Optionaldetails: Record<string, unknown>Returns a copy of the current in-memory buffer.
Downloads the current buffer as a JSON file. This is useful when a user wants to attach logs to a bug report without having to manually copy messages from the browser console.
DiagnosticLogger provides structured logging that is accessible through: