mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +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.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 = []
|
||||
}
|
||||
|
||||
|
|
@ -136,8 +136,8 @@ class Logger {
|
|||
/**
|
||||
* Fatal errors are ones that exit the process
|
||||
* Fatal logs are saved to crash_logs.txt
|
||||
*
|
||||
* @param {...any} args
|
||||
*
|
||||
* @param {...any} args
|
||||
*/
|
||||
fatal(...args) {
|
||||
console.error(`[${this.timestamp}] FATAL:`, ...args, `(${this.source})`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue