From 4275af2324629d19587cbc58bd96d1e535835e07 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 4 Feb 2019 11:51:23 +0900 Subject: [PATCH] Make Logger#log method private --- src/misc/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/logger.ts b/src/misc/logger.ts index 0cf6b72a6..abb3db6a3 100644 --- a/src/misc/logger.ts +++ b/src/misc/logger.ts @@ -19,7 +19,7 @@ export default class Logger { return logger; } - public log(level: string, message: string, important = false, subDomains: string[] = []): void { + private log(level: string, message: string, important = false, subDomains: string[] = []): void { if (program.quiet) return; const domain = this.color ? chalk.keyword(this.color)(this.domain) : chalk.white(this.domain); const domains = [domain].concat(subDomains);