clients/libs/logging-angular/README.md
Daniel García dc888f9acc
[PM-33315] Create @bitwarden/logging (#20197)
* [PM-33315] Create @bitwarden/logging

* Reorder tsconfig, fix tests
2026-04-21 11:48:03 +02:00

636 B

logging-angular

Owned by: platform

Angular wrapper for @bitwarden/logging. Provides FlightRecorderService, an @Injectable subclass of FlightRecorder that wires SDK readiness automatically via SdkLoadService.Ready.

Usage

import { FlightRecorderService } from "@bitwarden/logging-angular";

@Component({
  /* ... */
})
export class MyComponent {
  private recorder = inject(FlightRecorderService);

  async viewEvents() {
    const events = await this.recorder.read();
  }
}

See @bitwarden/logging for the full API surface inherited by this service.