mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-27 15:53:49 +00:00
enh: stresser environment variable updates
This commit is contained in:
parent
c6bd280e61
commit
6e76be66fb
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user