Elevated debug logs to info for prod environment

This commit is contained in:
2025-01-24 12:15:33 +00:00
parent 39e27622c7
commit 1595ff175f
4 changed files with 7 additions and 7 deletions

View File

@@ -7,9 +7,9 @@ export const navigation = {
toAbout: () => goto("/about"),
toContact: () => goto("/contact"),
toRepository: () => {
logger.debug("Entering '/lib/navigation.js'.toRepository");
logger.info("Entering '/lib/navigation.js'.toRepository");
goto("/repo");
logger.debug("Exiting '/lib/navigation.js'.toRepository");
logger.info("Exiting '/lib/navigation.js'.toRepository");
},
to404: () => {
throw error(404, 'Page not found');