mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-13 06:08:12 +09:00
Make Logger#log method private
This commit is contained in:
parent
f8b2b746b5
commit
62cc0679b4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user