From 5779fb8f54306d5397a37a3a29791ffc46a8941a Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 29 Nov 2022 16:26:17 +0900 Subject: feat: Brush up --- code/app/src/routes/(main)/+layout.server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/app/src/routes/(main)/+layout.server.ts') diff --git a/code/app/src/routes/(main)/+layout.server.ts b/code/app/src/routes/(main)/+layout.server.ts index 5a3c1a2..acb9c22 100644 --- a/code/app/src/routes/(main)/+layout.server.ts +++ b/code/app/src/routes/(main)/+layout.server.ts @@ -1,5 +1,5 @@ import { api_base, CookieNames } from "$lib/configuration"; -import { log_error } from "$lib/logger"; +import { log_debug, log_error } from "$lib/logger"; import { error, redirect } from "@sveltejs/kit"; import type { LayoutServerLoad } from "./$types"; @@ -17,7 +17,7 @@ export const load: LayoutServerLoad = async ({ route, cookies, locals }) => { }) })).ok; - console.log("Base Layout loaded", { + log_debug("Base Layout loaded", { sessionIsValid, isPublicRoute, routeId: route.id -- cgit v1.3