mirror of
https://github.com/pockethost/pockethost.git
synced 2026-03-02 15:03:26 +00:00
fix: logger suppressing some messages
This commit is contained in:
@@ -130,9 +130,8 @@ export const createLogger = (config: Partial<Config>) => {
|
||||
const info = (...args: any[]) => {
|
||||
_log(
|
||||
LogLevelName.Info,
|
||||
...(isLevelGt(LogLevelName.Info, level)
|
||||
? [_pfx(chalk.gray(`INFO`)), ...args]
|
||||
: args),
|
||||
_pfx(isLevelGt(LogLevelName.Info, level) ? chalk.gray(`INFO`) : ''),
|
||||
...args,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user