From beta-0.3.0 deno/x
slightly annoying console.log("RRRR", RRRR); and other log points for the consumer
proposition (or complete removal)
// fresh.config.ts
export default defineConfig({
plugins: [
getDenoKvSessionPlugin("/", {
logLevel: 'log',
client: store,
cookieOptions: { secure: true },
}),
],
});
Other values could be
export interface DenoKvFreshSessionOptions extends FreshSessionBaseOptions {
client: Deno.Kv;
logLevel: "log" | "debug" | "warning" | "off" ;
keyPrefix?: string;
baseKeyPath?: string[];
}
Default set to "log" to avoid a major bump but I would recommend a default to "off" or "warning" in general
From
beta-0.3.0deno/xslightly annoying
console.log("RRRR", RRRR);and other log points for the consumerproposition (or complete removal)
Other values could be
Default set to "log" to avoid a major bump but I would recommend a default to "off" or "warning" in general