Hacker News new | past | comments | ask | show | jobs | submit login

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"}



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: