mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
|
/* eslint-disable no-console */
|
||
|
import { debugConsole } from '@/utils/debugging'
|
||
|
|
||
|
if (process.env.VERBOSE_LOGGING === 'true') {
|
||
|
debugConsole.debug = console.debug
|
||
|
debugConsole.log = console.log
|
||
|
} else {
|
||
|
debugConsole.warn = () => {}
|
||
|
debugConsole.error = () => {}
|
||
|
}
|