mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-20 00:06:24 +08:00
refactor(build): lint build scripts
This commit is contained in:
+3
-5
@@ -1,13 +1,11 @@
|
||||
import { createLogger, transports, format } from 'winston';
|
||||
import { createLogger, format, transports } from 'winston';
|
||||
|
||||
const { label, printf, prettyPrint, combine, colorize, simple } = format;
|
||||
|
||||
const LOG_LEVEL = 'silly';
|
||||
|
||||
export const Logger = createLogger({
|
||||
level: LOG_LEVEL,
|
||||
format: combine(
|
||||
colorize(),
|
||||
simple(),
|
||||
),
|
||||
format: combine(colorize(), simple()),
|
||||
transports: [new transports.Console({ level: LOG_LEVEL })]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user