Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A awesome-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 317
    • Merge requests 317
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Vinta Chen
  • awesome-python
  • Merge requests
  • !1576

Add structlog

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/rpdelaney/structlog into master Jul 15, 2020
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: rpdelaney

What is this Python project?

Originally proposed back in 2015 with #321, the project is much more mature now.

I will crib some from the why page for structlog which summarizes (a) why structured logging is good and (b) why structlog is good at structured logging.

Structured logging means that you don’t write hard-to-parse and hard-to-keep-consistent prose in your logs but that you log events that happen in a context instead...

structlog provides a handy interface for defining a structure for logging and then emitting log messages. It can also act as a handler for the built in logging module. It can handle encoding, capture user-defined elements of a call stack to log a context, pretty-print (including colorized) log messages for local development, format timestamps, filter log messages by level, and many more....

Testing mechanisms are provided that hook neatly into pytest.

What's the difference between this Python project and similar ones?

Structured logging! Here is a video about why structured logging is good, and why structlog is good at it.

--

Anyone who agrees with this pull request could submit an Approve review to it.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/rpdelaney/structlog