configureLogStore function exported ✓ 100.0%
Last updated: 2026-03-01T23:25:47.125Z
Location
Metrics
LOC: 5
Complexity: 2
Params: 1
Coverage: 100.0% (2/2 lines, 2x executed)
Signature
configureLogStore(options: { maxEntries?: number }): : void
Summary
Configures the log store at runtime. Must be called before entries are added for the limit to take effect.
Source Code
export function configureLogStore(options: { maxEntries?: number }): void {
if (options.maxEntries !== undefined) {
maxEntries = Math.max(50, Math.min(5000, options.maxEntries));
}
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| LogLevel | uses |
| initLogger | calls |