sync mode on
This commit is contained in:
1 parent
1818932244
commit
1174b328e5
415 files changed
+44294
-1182
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
# Diagnostics
|
||||
|
||||
Pino provides [tracing channel](tc) events that allow insight into the
|
||||
internal workings of the library. The currently supported events are:
|
||||
|
||||
+ `tracing:pino_asJson:start`: emitted when the final serialization process
|
||||
of logs is started. The emitted event payload has the following fields:
|
||||
- `instance`: the Pino instance associated with the function
|
||||
- `arguments`: the arguments passed to the function
|
||||
+ `tracing:pino_asJson:end`: emitted at the end of the final serialization
|
||||
process. The emitted event payload has the following fields:
|
||||
- `instance`: the Pino instance associated with the function
|
||||
- `arguments`: the arguments passed to the function
|
||||
- `result`: the finalized, newline delimited, log line as a string
|
||||
|
||||
[tc]: https://nodejs.org/docs/latest/api/diagnostics_channel.html#tracingchannel-channels
|
||||
Reference in new issue
Block a user