mirror of
https://github.com/pockethost/pockethost.git
synced 2026-03-05 16:48:47 +00:00
enh: stresser environment variable updates
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { DEBUG, TRACE } from '$constants'
|
||||
import { PUBLIC_DEBUG, TRACE } from '$constants'
|
||||
import { LoggerService } from '@pockethost/common'
|
||||
|
||||
import { Command } from 'commander'
|
||||
@@ -7,7 +7,7 @@ import { createSeed } from './commands/seed'
|
||||
import { createStress } from './commands/stress'
|
||||
const program = new Command()
|
||||
|
||||
LoggerService({ debug: DEBUG, trace: TRACE, errorTrace: !DEBUG })
|
||||
LoggerService({ debug: PUBLIC_DEBUG, trace: TRACE, errorTrace: !PUBLIC_DEBUG })
|
||||
const logger = LoggerService().create(`stresser`)
|
||||
const { dbg, error, info, warn } = logger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user