web: add logging about persistence type

This commit is contained in:
Abdullah Atta
2026-02-19 11:37:59 +05:00
parent a2939aa183
commit 6bd4924c0b

View File

@@ -24,7 +24,7 @@ import {
initializeFeatureChecks,
isFeatureSupported
} from "./utils/feature-check";
import { initializeLogger } from "./utils/logger";
import { initializeLogger, logger } from "./utils/logger";
import { shouldShowWrapped } from "./utils/should-show-wrapped";
type Route<TProps = null> = {
@@ -198,6 +198,10 @@ export async function init() {
? ("memory" as const)
: ("db" as const);
logger.info(
`Initializing key store with persistence: ${persistence} for path: ${path}`
);
return { Component, path, props: route.props, persistence };
}