strapi/packages/utils/logger/lib/constants.js
Jean-Sébastien Herbaux 2a4589fd37
Move logger to utils (#10372)
* Move logger package to strapi core

* Move logger package to utils
2021-05-24 15:24:07 +02:00

14 lines
210 B
JavaScript

'use strict';
const { config } = require('winston');
const LEVELS = config.npm.levels;
const LEVEL_LABEL = 'silly';
const LEVEL = LEVELS[LEVEL_LABEL];
module.exports = {
LEVEL,
LEVEL_LABEL,
LEVELS,
};