Skip to content
#

logger

Here are 3,228 public repositories matching this topic...

jsumners
jsumners commented May 11, 2022

I'm trying to understand how a worker thread is passing an error back to the main Pino process through the worker message bus. In the code below there is a transport with an internal EventEmitter that emits an unhandled error event. Yet, somehow, we can attach an .on('error') listener to the transport and handle that emitted event. How does this work?

package.json

G3log is an asynchronous, "crash safe", logger that is easy to use with default logging sinks or you can add your own. G3log is made with plain C++14 (C++11 support up to release 1.3.2) with no external libraries (except gtest used for unit tests). G3log is made to be cross-platform, currently running on OSX, Windows and several Linux distros. See Readme below for details of usage.

  • Updated May 29, 2022
  • C++

Improve this page

Add a description, image, and links to the logger topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the logger topic, visit your repo's landing page and select "manage topics."

Learn more