mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 23:05:56 -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 = () => {}
|
||
|
}
|