diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-11-29 08:26:17 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-11-29 08:26:28 +0100 |
| commit | 5779fb8f54306d5397a37a3a29791ffc46a8941a (patch) | |
| tree | f746cc70f95d9c4b743dc3759e9c1926a32a2ce7 /code/app/src/routes/(main)/+layout.server.ts | |
| parent | c743fad6657e691a42ed2613dbeaa0c7bbb80564 (diff) | |
| download | greatoffice-5779fb8f54306d5397a37a3a29791ffc46a8941a.tar.xz greatoffice-5779fb8f54306d5397a37a3a29791ffc46a8941a.zip | |
feat: Brush up
Diffstat (limited to 'code/app/src/routes/(main)/+layout.server.ts')
| -rw-r--r-- | code/app/src/routes/(main)/+layout.server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
