Skip to main content

Static typed structured logging

Project description

Static typed structured logging

Description

This project araised from the need to log backend applications, aws lambdas and other stuff in modern cloud ecosystem. Logging systems today are able easily parsing JSON format out of the box. Static typing approach brings here consistent way to define key values to final msg, as well as easier following Domain Driven Design, where logs consistently describe what they log. Static typed logging brings easy refactoring to any present logs.

Features

  • Accepts static typed components as optional params
    • it will not accept any options
    • has shortcut WithFields, to make clone of the logger with default logging fields
  • Easy to turn on/off parameters by environment variables
    • Ability to define different log levels for different created loggers
  • Easier turning complex objects into structured logging

Python specifics

In order to function with python well, recommendation to turn on

Alternative Versions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logus-0.0.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logus-0.0.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file logus-0.0.1.tar.gz.

File metadata

  • Download URL: logus-0.0.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for logus-0.0.1.tar.gz
Algorithm Hash digest
SHA256 66d5c8395f95bd2a9f2e0e447d990d497200800cdad38a9acc17638accf0b658
MD5 a780651b83d8f4f18593cfc9d68243c8
BLAKE2b-256 53ea620484a1adc32aba378b2a47f4180d1678284738574a11e7345d27f39e02

See more details on using hashes here.

File details

Details for the file logus-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: logus-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for logus-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 020f748cb10f6ce6fc5c86f432f1037fc9d2856cc4f9a1261fdb6115f4d54701
MD5 77bd7a0ff927985a67751358325cff63
BLAKE2b-256 4948ca29834564662f1530636b596520ea48fe2ef4264c16225bcc391f644086

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page