Skip to content

Commit

Permalink
Update Readme.md. Fix commas. (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
grigals committed Nov 23, 2023
1 parent 6581192 commit db27875
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,12 @@ Additionally, `customPrettifiers` can be used to format the `time`, `hostname`,
// The argument for the level-prettifier may vary depending
// on if the levelKey option is used or not.
// By default this will be the same numerics as the Pino default:
level: logLevel => `LEVEL: ${logLevel}`
level: logLevel => `LEVEL: ${logLevel}`,

// other prettifiers can be used for the other keys if needed, for example
hostname: hostname => colorGreen(hostname)
pid: pid => colorRed(pid)
name: name => colorBlue(name)
hostname: hostname => colorGreen(hostname),
pid: pid => colorRed(pid),
name: name => colorBlue(name),
caller: caller => colorCyan(caller)
}
}
Expand Down

0 comments on commit db27875

Please sign in to comment.