From 1eb143d50e39c7a3aec8a9cc240f34d39afb6712 Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Thu, 12 Apr 2018 18:54:36 +0200 Subject: [PATCH] fix: fix default log level on header and finish methods --- src/logger/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logger/index.ts b/src/logger/index.ts index 35b0eb0114..2ebb6de7a3 100644 --- a/src/logger/index.ts +++ b/src/logger/index.ts @@ -248,7 +248,7 @@ export class RootLogNode extends LogNode { } public header( - { command, emoji, level = LogLevel.verbose }: { command: string, emoji?: string, level?: LogLevel }, + { command, emoji, level = LogLevel.info }: { command: string, emoji?: string, level?: LogLevel }, ): LogEntry { const msg = combine([ [chalk.bold.magenta(command)], @@ -260,7 +260,7 @@ export class RootLogNode extends LogNode { } public finish( - { showDuration = true, level = LogLevel.verbose }: { showDuration?: boolean, level?: LogLevel } = {}, + { showDuration = true, level = LogLevel.info }: { showDuration?: boolean, level?: LogLevel } = {}, ): LogEntry { const msg = combine([ [`\n${nodeEmoji.get("sparkles")} Finished`],