mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 09:52:23 +00:00
f7275a6c4b
Upgrade logger and metrics in all services GitOrigin-RevId: 2baf63eeeab77fb3559cf763ddacfbf4b745cd0b
9 lines
233 B
JavaScript
9 lines
233 B
JavaScript
const SandboxedModule = require('sandboxed-module')
|
|
|
|
SandboxedModule.configure({
|
|
requires: {
|
|
'@overleaf/logger': { log() {} },
|
|
'@overleaf/metrics': { timeAsyncMethod() {} },
|
|
},
|
|
globals: { Buffer, console, process },
|
|
})
|