@snap/camera-kit
Version:
Camera Kit Web
16 lines • 614 B
TypeScript
/**
* The factory creates new logEntries subject.
*
* NOTE: The factory calls `resetLogger()`, which overrides the global `logEntrySubject`.
* This is currently necessary to avoid sharing the same subject between multiple `CameraKit` instances.
* In the future, we may throw an error when bootstrapping more than a single `CameraKit`,
* that will allow us to have a single log entry subject.
*
* @internal
*/
export declare const logEntriesFactory: {
(): import("rxjs").Observable<import("./logger").LogEntry>;
token: "logEntries";
dependencies: [];
};
//# sourceMappingURL=logEntries.d.ts.map