mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 03:56:44 -06:00
Make Logger#log method private
This commit is contained in:
parent
84d42be090
commit
4275af2324
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ export default class Logger {
|
||||||
return 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;
|
if (program.quiet) return;
|
||||||
const domain = this.color ? chalk.keyword(this.color)(this.domain) : chalk.white(this.domain);
|
const domain = this.color ? chalk.keyword(this.color)(this.domain) : chalk.white(this.domain);
|
||||||
const domains = [domain].concat(subDomains);
|
const domains = [domain].concat(subDomains);
|
||||||
|
|
Loading…
Reference in a new issue