Skip to main content

Log with 20/20 vision

Project description

Dynamic and adaptive logging AFTER the fact

Classic logging expects perfect foresight, but everyone knows only hindsight is 20/20!

Usage

Install via pip, then:

>>> def hello(a=1):
>>>    a += 1
>>>    b = 2
>>>    print(a + b)
>>>
>>> import retrospect
>>> r = retrospect.retrospect(hello)
>>>
>>> r.trace_lines().fun()
{'a': 1}
{'a': 2}
{'a': 2, 'b': 2}
4
{'a': 2, 'b': 2}
>>> r.trace_none().fun()
4

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

retrospect-0.1.2.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file retrospect-0.1.2.tar.gz.

File metadata

  • Download URL: retrospect-0.1.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for retrospect-0.1.2.tar.gz
Algorithm Hash digest
SHA256 01f80838def51b7e96ea5f34047d8e434ee3b7a8de539a03b71bec99bcb9904e
MD5 15da9d12770ddbc5b9ededafedcbddba
BLAKE2b-256 c3d13fee468954d90268df941fde3e199e842b8a4bb2c1b8ecc5ca75a3713b54

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