feat(#27): Set up consola logger, make use of log levels in backend and frontend
This commit is contained in:
14
legalconsenthub/index.d.ts
vendored
14
legalconsenthub/index.d.ts
vendored
@@ -3,6 +3,20 @@ declare module 'nuxt/schema' {
|
||||
clientProxyBasePath: string
|
||||
serverApiBaseUrl: string
|
||||
serverApiBasePath: string
|
||||
keycloakTokenUrl: string
|
||||
logLevel: string
|
||||
}
|
||||
}
|
||||
|
||||
declare module '#app' {
|
||||
interface NuxtApp {
|
||||
$logger: import('consola').ConsolaInstance
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProperties {
|
||||
$logger: import('consola').ConsolaInstance
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user