Skip to content

Commit

Permalink
debugging log
Browse files Browse the repository at this point in the history
  • Loading branch information
Nurutomo committed Apr 21, 2023
1 parent ed841b5 commit 5490975
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/util/Connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ import { JSONFile } from '@commonify/lowdb'
import Print from './Print'
import PermissionHandler from './PermissionHandler'

const Logger = pino({ transport: { target: 'pino-pretty' }, prettyPrint: { levelFirst: true, ignore: 'hostname', translateTime: true } })
const Logger = pino({ level: 'info', transport: { target: 'pino-pretty' }, prettyPrint: { levelFirst: true, ignore: 'hostname', translateTime: true } })
const LoggerDebug = pino({ level: 'debug', transport: { target: 'pino-pretty' }, prettyPrint: { levelFirst: true, ignore: 'hostname', translateTime: true } })
export default class Connection {
static isModule: boolean = true
static Logger = Logger
static LoggerDebug = LoggerDebug

sock: ReturnType<typeof Helper>
store: ReturnType<typeof makeInMemoryStore>
Expand Down

0 comments on commit 5490975

Please sign in to comment.