mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
/jserror: Enable colors to improve readability
This commit is contained in:
parent
629e7d5072
commit
3a5c44c8f7
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
||||||
clientLogger.warn(`${data.msg} --`, {
|
clientLogger.warn(`${data.msg} --`, {
|
||||||
[util.inspect.custom]: (depth, options) => {
|
[util.inspect.custom]: (depth, options) => {
|
||||||
// Depth is forced to infinity to ensure that all of the provided data is logged.
|
// Depth is forced to infinity to ensure that all of the provided data is logged.
|
||||||
options = Object.assign({}, options, {depth: Infinity});
|
options = Object.assign({}, options, {depth: Infinity, colors: true});
|
||||||
return util.inspect(data, options);
|
return util.inspect(data, options);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue