mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-14 05:11:45 +00:00
Fixing tabs
This commit is contained in:
parent
955715cde4
commit
6ec5472edf
1 changed files with 3 additions and 3 deletions
|
|
@ -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})`)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue