You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bitwarden-clients/libs/logging-angular/README.md

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.