clients/libs/logging-angular
John Harrington 7cf7c2920e
[PM-30942] Allow user to download logs from a user-initiated button click (#20420)
* initial implementation of log file download

* update web/broswer/desktop to match design specs

* add test coverage

* rework web to match updated design directive
2026-05-11 06:50:19 -07:00
..
src [PM-30942] Allow user to download logs from a user-initiated button click (#20420) 2026-05-11 06:50:19 -07:00
eslint.config.mjs [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
jest.config.js [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
package.json [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
project.json [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
README.md [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
test.setup.ts [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
tsconfig.eslint.json [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
tsconfig.json [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
tsconfig.lib.json [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00
tsconfig.spec.json [PM-33315] Create @bitwarden/logging (#20197) 2026-04-21 11:48:03 +02:00

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.