Comparing version 8.12.0 to 8.12.1
@@ -344,4 +344,4 @@ # API | ||
Changes the shape of the bindings. The default shape is `{ pid, hostname }`. | ||
The function takes a single argument, the bindings object. It will | ||
be called every time a child logger is created. | ||
The function takes a single argument, the bindings object, which can be configured | ||
using the [`base` option](#opt-base). Called once when creating logger. | ||
@@ -406,2 +406,3 @@ ```js | ||
<a id=opt-base></a> | ||
#### `base` (Object) | ||
@@ -408,0 +409,0 @@ |
'use strict' | ||
module.exports = { version: '8.12.0' } | ||
module.exports = { version: '8.12.1' } |
{ | ||
"name": "pino", | ||
"version": "8.12.0", | ||
"version": "8.12.1", | ||
"description": "super fast, all natural json logger", | ||
@@ -5,0 +5,0 @@ "main": "pino.js", |
@@ -631,2 +631,7 @@ // Project: https://github.com/pinojs/pino.git, http://getpino.io | ||
onChild?: OnChildCallback; | ||
/** | ||
* logs newline delimited JSON with `\r\n` instead of `\n`. Default: `false`. | ||
*/ | ||
crlf?: boolean; | ||
} | ||
@@ -633,0 +638,0 @@ |
@@ -328,1 +328,5 @@ import P, { pino } from "../../"; | ||
pino({ | ||
crlf: true, | ||
}); | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
667437
188
12954