• File: align.js
  • Full Path: /var/www/nodejs/daily_store_reports_nodejs/node_modules/logform/dist/align.js
  • Date Modified: 02/04/2023 9:31 PM
  • File size: 379 bytes
  • MIME-type: text/plain
  • Charset: utf-8
'use strict';

var 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(function (info) {
  info.message = "\t".concat(info.message);
  return info;
});