Alokai

createStorefrontLogger

Creates the standard Alokai storefront logger: a GCP-structured logger tagged with alokai.context: "storefront". Shared by the Next.js and Nuxt integrations so the storefront log shape stays identical across frameworks.

Signature

declare function createStorefrontLogger(
	options?: LoggerOptions
): LoggerInterface;

Parameters

NameRequiredTypeDescription
optionsOptionalLoggerOptions

Referenced Types

On this page