{"repo":"botflux/pino-logfmt","free":true,"listed":false,"github":"https://github.com/botflux/pino-logfmt","clone":"git clone https://github.com/botflux/pino-logfmt.git","description":"Logfmt transport for pino","language":"JavaScript","stars":11,"topics":["logfmt","logging","pino","transport"],"license":"MIT","category":"analytics","readme_excerpt":"pino-logfmt This package provides a transport that transforms standard pino logs to logfmt. A standard Pino log line like: Will format to: Install Example Using the example script from the Pino module, we can see what the prettified logs will look like: Programmatic usage Options Name Type Default Description -------------------------- -------------------- ----------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------- includeLevelLabel boolean false Add the level as a label in each log entries levelLabelKey string \"level label\" The name of the level label metadata. Only used if includeLevelLabel is enabled. formatTime boolean false Format pino's time field using Date.toISOString(). The time field will be overriden with the formatted date. timeFormat string \"isoDateTime\" A time format compatible with dateformat ' formats. timeKey string \"time\" The name of the key that holds the log timestamp. convertToSnakeCase boolean false Convert log field names to snake case. flattenNestedObjects boolean false Flatten nested metadata (e.g. { error: { type: \"Error\", message: \"Something went wrong\" } } becomes error type=Error error message=\"Something went wrong\" flattenNestedSeparator string \" \" The character that is used to merge keys when flattenNestedObjects is enabled. escapeMultilineStrings boolean false Escape multi-line strings in the log output, including deeply nested ","default_branch":null,"files":null,"tree":[],"storefront":"/r/botflux","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/botflux/pino-logfmt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}