2019-12-09 03:34:28 +03:00
2019-12-09 03:34:28 +03:00
2019-08-21 19:24:22 +03:00
2019-08-23 11:18:23 +03:00
2019-12-09 03:34:28 +03:00

logag-python-handler

using

git+https://gitlab.com/logag/logag-python-handler.git

in code:

import logging
from xid import Xid

log = logging.getLogger()
try:
    a = 1/0
except Exception as e:
    log.warning("Test", exc_info=e, extra={'request_id': "123123123", 'xid': Xid().string})
Description
No description provided
Readme 32 KiB
Languages
Python 100%