mirror of
https://github.com/strapi/strapi.git
synced 2025-07-29 11:58:29 +00:00
22 lines
290 B
JavaScript
Executable File
22 lines
290 B
JavaScript
Executable File
'use strict';
|
|
|
|
/**
|
|
* Module dependencies
|
|
*/
|
|
|
|
// Public node modules.
|
|
const winston = require('winston');
|
|
|
|
/**
|
|
* Common logger
|
|
*/
|
|
|
|
module.exports = new (winston.Logger)({
|
|
transports: [
|
|
new (winston.transports.Console)({
|
|
level: 'debug',
|
|
colorize: 'level'
|
|
})
|
|
]
|
|
});
|