mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-04 21:04:29 +08:00
* initial implementation of log file download * update web/broswer/desktop to match design specs * add test coverage * rework web to match updated design directive |
||
|---|---|---|
| .. | ||
| src | ||
| eslint.config.mjs | ||
| jest.config.js | ||
| package.json | ||
| project.json | ||
| README.md | ||
| test.setup.ts | ||
| tsconfig.eslint.json | ||
| tsconfig.json | ||
| tsconfig.lib.json | ||
| tsconfig.spec.json | ||
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.