{"repo":"pinojs/pino-caller","free":true,"listed":false,"github":"https://github.com/pinojs/pino-caller","clone":"git clone https://github.com/pinojs/pino-caller.git","description":"🌲 Include call site of pino log messages","language":"JavaScript","stars":72,"topics":["logging","caller","debug","logger","utility","productivity","pino"],"license":null,"category":"productivity","readme_excerpt":"pino-caller Description pino-caller is a wrapper for pino which adds the call site of each log message to the log output. This can be useful when developing with large codebases in order to locate the exact point where pino is invoked. Install For Pino v4 and below use the v2 line, which can be installed with the @legacy tag: For Pino v5 and above use the v3+ line, which will install using the usual command: WARNING: THIS IS A DEVELOPMENT TOOL AVOID PRODUCTION USE! Usage Basic Advanced You can find also a working example in the examples directory and you can run it with npm run example Options - relativeTo - Remove path prefixes from log messages to make them easier to read. - stackAdjustment - For those who've wrapped pino, make pino-caller move N stackframes up to get a meaningful message. Example output","default_branch":null,"files":null,"tree":[],"storefront":"/r/pinojs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pinojs/pino-caller/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."}