The Wayback Machine - https://web.archive.org/web/20210210034356/https://github.com/topics/logger
Skip to content
#

logger

Here are 2,606 public repositories matching this topic...

Mossop
Mossop commented Oct 17, 2020

Pino seems unable to handle BigInts. Tested in 6.7.0:

> const logger = require('pino')();
> logger.info({ t: 10n }, "Hello");
Uncaught TypeError: Do not know how to serialize a BigInt
    at JSON.stringify (<anonymous>)
    at stringify (/Users/dave/workspace/pixelbin/node_modules/fast-safe-stringify/index.js:14:16)
    at stringify (/Users/dave/workspace/pixelbin/node_modules/pino/li
dsaitta0
dsaitta0 commented Nov 5, 2020

Hi,

I saw that there is a perfomance degratation due to a for loop used inside the static func harmlessFunction() declared in CustomSelfAwareHelper struct.

This loop is trying to verify the type with the as? operator (that have a complexity of O(n) ) and try to unwrapp the result in order to call the awake() function.

For a medium-larger project (with likely 20k+ classes) that covers old

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 Jan 26, 2021
  • C++
izumi

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