Metadata-Version: 2.1
Name: trace-event-handler
Version: 0.0.1
Summary: Python Logging Handler which dumps in the Trace Event Format supported by Chromium based browsers.
Home-page: https://github.com/lochbrunner/trace_event_handler
Author: Matthias Lochbrunner
Author-email: matthias_lochbrunner@web.de
License: UNKNOWN
Description: # Logging Handler writing Trace Event Format
        
        This logging writes the logs in the [Trace Event Format](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/).
        
        ## Installation
        
        Coming soon ...
        
        ## Usage
        
        ```python
        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.
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
