feat(#27): Set up consola logger, make use of log levels in backend and frontend

This commit is contained in:
2025-12-24 10:26:22 +01:00
parent 805c66bc4f
commit 7f7852a66a
36 changed files with 312 additions and 141 deletions

View File

@@ -4,10 +4,11 @@
<script setup lang="ts">
onMounted(async () => {
const logger = useLogger().withTag('auth callback')
try {
await navigateTo('/')
} catch (e) {
console.error('Error during login', e)
logger.error('Error during login', e)
}
})
</script>