Spaces:
Runtime error
Runtime error
Update app/winston.js
Browse files- app/winston.js +2 -2
app/winston.js
CHANGED
|
@@ -2,8 +2,8 @@ const winston = require('winston');
|
|
| 2 |
const path = require('path');
|
| 3 |
|
| 4 |
module.exports = winston.createLogger({
|
| 5 |
-
// log ra warn thoi:v
|
| 6 |
-
level: 'warn',
|
| 7 |
// format của log được kết hợp thông qua format.combine
|
| 8 |
format: winston.format.combine(
|
| 9 |
winston.format.splat(),
|
|
|
|
| 2 |
const path = require('path');
|
| 3 |
|
| 4 |
module.exports = winston.createLogger({
|
| 5 |
+
// // log ra warn thoi:v
|
| 6 |
+
// level: 'warn',
|
| 7 |
// format của log được kết hợp thông qua format.combine
|
| 8 |
format: winston.format.combine(
|
| 9 |
winston.format.splat(),
|