mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 08:51:38 +00: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 = () => {}
|
||
|
}
|