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

@@ -91,9 +91,10 @@ const emit = defineEmits<{
const commentStore = useCommentStore()
const { load: loadComments } = commentStore
const { comments } = storeToRefs(commentStore)
const logger = useLogger().withTag('FormEngine')
if (props.applicationFormId) {
console.log('Loading comments for application form:', props.applicationFormId)
logger.debug('Loading comments for application form:', props.applicationFormId)
await loadComments(props.applicationFormId)
}