Skip to content

Safe-Security/py-logger

Repository files navigation

PyPI-Server Built Status

safe-security-logger

Structured JSON logger package from Safe Security

Installation

pip install safe-security-logger

Usage

import safe_security_logger as logging

logger = logging.getLogger("awesome-logger")

def test():
    logger.info("Hello world")
    logger.info("Hello world", extra={"text": "testing logging"})

test()