mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Elevated debug logs to info for prod environment
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user