system-prompts-and-models-o.../unified-ai-platform/node_modules/logform/align.js
dopeuni444 ae726301f8 KI
KJ
2025-08-06 11:08:49 +04:00

15 lines
367 B
JavaScript

'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;
});