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
Daniel García dc888f9acc
[PM-33315] Create @bitwarden/logging (#20197)
3 weeks ago
..
src
README.md
eslint.config.mjs
jest.config.js
package.json
project.json
test.setup.ts
tsconfig.eslint.json
tsconfig.json
tsconfig.lib.json
tsconfig.spec.json

README.md

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.