mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-24 17:41:27 -04:00
Fix
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user