Comment

Comment by reubano

I'd just like to plug my lib, pygogo (https://github.com/reubano/pygogo). Here's a structured log example taken from the docs.

  import pygogo as gogo

  kwargs = {'contextual': True}
  extra = {'additional': True}
  logger = gogo.Gogo('basic').get_structured_logger('base', **kwargs)
  logger.debug('message', extra=extra)

  # Prints the following to `stdout`:
  {"additional": true, "contextual": true, "message": "message"}
parent reubano 4 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton