gwanyan-interactive-grassland - v0.1.0
    Preparing search index...

    DiagnosticLogger provides structured logging that is accessible through:

    • browser developer tools,
    • an in-page overlay,
    • a global window hook for ad-hoc inspection,
    • and a downloadable JSON snapshot.

    Hierarchy

    • EventTarget
      • DiagnosticLogger
    Index

    Constructors

    Methods

    • Records a debug message.

      Parameters

      • sourceSubsystem: string
      • message: string
      • Optionaldetails: Record<string, unknown>

      Returns void

    • Records an informational message.

      Parameters

      • sourceSubsystem: string
      • message: string
      • Optionaldetails: Record<string, unknown>

      Returns void

    • Records a warning message.

      Parameters

      • sourceSubsystem: string
      • message: string
      • Optionaldetails: Record<string, unknown>

      Returns void

    • Records an error message.

      Parameters

      • sourceSubsystem: string
      • message: string
      • Optionaldetails: Record<string, unknown>

      Returns void

    • 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.

      Returns void