This commit is contained in:
MartinBraquet
2026-03-10 16:29:48 +01:00
parent da9e950e5f
commit f3bd28e29f

View File

@@ -1,5 +1,4 @@
import {IS_PROD} from 'common/envs/constants'
import {IS_LOCAL} from 'common/hosting/constants'
/**
* Log level severity types
@@ -152,7 +151,6 @@ export function logPageView(path: string): void {
* @returns Current log level threshold
*/
const currentLevel = (): LogLevel => {
if (IS_LOCAL) return 'debug'
if (IS_PROD || process.env.NODE_ENV == 'production') return 'info'
return 'debug'
}