mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
e0d91eaa26
Downgrade all INFO logs to DEBUG GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
15 lines
314 B
JavaScript
15 lines
314 B
JavaScript
const SandboxedModule = require('sandboxed-module')
|
|
|
|
SandboxedModule.configure({
|
|
requires: {
|
|
'@overleaf/logger': {
|
|
debug() {},
|
|
info() {},
|
|
log() {},
|
|
warn() {},
|
|
error() {},
|
|
},
|
|
'@overleaf/metrics': { timeAsyncMethod() {} },
|
|
},
|
|
globals: { Buffer, console, process },
|
|
})
|