mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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 = () => {}
|
||
|
}
|