Fixing tabs

This commit is contained in:
hydrian 2024-03-11 13:45:52 -04:00
parent 955715cde4
commit 6ec5472edf

View file

@ -8,7 +8,7 @@ class Logger {
this.isDev = process.env.NODE_ENV !== 'production' this.isDev = process.env.NODE_ENV !== 'production'
this.logLevel = !this.isDev ? LogLevel.INFO : LogLevel.TRACE this.logLevel = !this.isDev ? LogLevel.INFO : LogLevel.TRACE
this.logLevel = process.env.LOG_LEVEL || this.logLevel this.logLevel = process.env.LOG_LEVEL || this.logLevel
this.socketListeners = [] this.socketListeners = []
} }
@ -136,8 +136,8 @@ class Logger {
/** /**
* Fatal errors are ones that exit the process * Fatal errors are ones that exit the process
* Fatal logs are saved to crash_logs.txt * Fatal logs are saved to crash_logs.txt
* *
* @param {...any} args * @param {...any} args
*/ */
fatal(...args) { fatal(...args) {
console.error(`[${this.timestamp}] FATAL:`, ...args, `(${this.source})`) console.error(`[${this.timestamp}] FATAL:`, ...args, `(${this.source})`)