mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 11:32:40 +00: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 },
|
|
})
|