init
This commit is contained in:
14
mc_test/node_modules/logform/align.js
generated
vendored
Executable file
14
mc_test/node_modules/logform/align.js
generated
vendored
Executable file
@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
const format = require('./format');
|
||||
|
||||
/*
|
||||
* function align (info)
|
||||
* Returns a new instance of the align Format which adds a `\t`
|
||||
* delimiter before the message to properly align it in the same place.
|
||||
* It was previously { align: true } in winston < 3.0.0
|
||||
*/
|
||||
module.exports = format(info => {
|
||||
info.message = `\t${info.message}`;
|
||||
return info;
|
||||
});
|
||||
Reference in New Issue
Block a user