Python Logging Handler which dumps in the Trace Event Format supported by Chromium based browsers.
Project description
Logging Handler writing Trace Event Format
This logging writes the logs in the Trace Event Format.
Installation
Coming soon ...
Usage
import logging
from trace_event_handler import TraceEventHandler
handler = TraceEventHandler()
logging.basicConfig(
handlers=[
logging.StreamHandler(None),
handler
]
)
# Do you stuff and log it
# ...
# Dump the trace to file
handler.dump('trace.json')
Open your Chromium based browser and navigate to chrome://tracing
.
Click on Load
and select your dumped trace file.
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
Built Distribution
Close
Hashes for trace_event_handler-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 613fb18f59f3e554b1848ba04fc22bebb0c4d7e5ff6c0f8b1e6758cb02430ab1 |
|
MD5 | 8aa9819c68f72a762df56fbb62a56159 |
|
BLAKE2b-256 | f86ce3e9a949701f3b31448ec4159f6592103b9a9ce17ae72f829018583a5048 |
Close
Hashes for trace_event_handler-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc4a8415052ead0512ee34ae203036659940b535e611304738341b0f2c336ba |
|
MD5 | 16567795313c6a36467a22451eb1cc78 |
|
BLAKE2b-256 | b6044c8015e6d9dd6720507d46d7397f561573421e357e29c8607325767161c0 |