1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 07:11:47 +09:00

Make Logger#log method private

This commit is contained in:
syuilo 2019-02-04 11:51:23 +09:00
parent 84d42be090
commit 4275af2324
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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);