chat-server/node_modules/logform/dist/levels.js

14 lines
288 B
JavaScript
Raw Normal View History

2019-04-10 13:07:31 +10:00
'use strict';
var _require = require('./colorize'),
Colorizer = _require.Colorizer;
/*
* Simple method to register colors with a simpler require
* path within the module.
*/
module.exports = function (config) {
Colorizer.addColors(config.colors || config);
return config;
};