Skip to content

toby-dixon/psr3_logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSR3 Logging

A python implementation of a psr3 compliant logging interface.

Basic Usage

from psr3_logging import LoggingInterface

logger = LoggingInterface(log_name="testLog", filename="./logs.log")
logger.debug("This is a debug log", {"data": "this is some context information"})

./logs.log:

[2025-02-10T10:37:11.116000+00:00] testLog.DEBUG: This is a debug log {"data": "this is some context data"} []

About

A psr3 compliant logging interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages