mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-06 22:26:45 +00:00
enh: improve winston console output
This commit is contained in:
parent
9e2c8a3cba
commit
0a2ab02fad
@ -17,7 +17,13 @@ const format = winston.format.combine(
|
||||
const filtered = Object.fromEntries(
|
||||
Object.entries(m).filter(([key]) => typeof key === 'string'),
|
||||
)
|
||||
final.push(inspect(filtered, { depth: null }))
|
||||
final.push(
|
||||
inspect(filtered, {
|
||||
depth: null,
|
||||
compact: true,
|
||||
breakLength: Infinity,
|
||||
}),
|
||||
)
|
||||
} else {
|
||||
final.push(m)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user