Improve Response verbose/debug logging
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
import {Container} from '../di'
|
||||
import {
|
||||
ErrorWithContext,
|
||||
FileLogger,
|
||||
globalRegistry,
|
||||
ifDebugging,
|
||||
infer,
|
||||
isLoggingLevel, logIfDebugging,
|
||||
isLoggingLevel,
|
||||
LoggingLevel,
|
||||
logIfDebugging,
|
||||
PathLike,
|
||||
StandardLogger,
|
||||
universalPath,
|
||||
UniversalPath,
|
||||
FileLogger,
|
||||
ifDebugging,
|
||||
} from '../util'
|
||||
import {Logging} from '../service/Logging'
|
||||
import {RunLevelErrorHandler} from './RunLevelErrorHandler'
|
||||
@@ -221,6 +223,7 @@ export class Application extends Container {
|
||||
logging.registerLogger(file)
|
||||
}
|
||||
|
||||
logging.level = LoggingLevel.Verbose
|
||||
logging.verbose('Attempting to load logging level from the environment...')
|
||||
|
||||
const envLevel = this.env('EXTOLLO_LOGGING_LEVEL')
|
||||
|
||||
Reference in New Issue
Block a user