Skip to content

pwsiegel/logging_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fun with the Python logging module

I created this repository as I was learning about some of the ins and outs of the Python logging module. It includes:

  • Accessing loggers from modules
  • Log formatting
  • Custom handlers
  • Logging uncaught exceptions

As a bonus, I wrote a little decorator which times how long a task takes and logs the result. (Actually, this probably makes more sense as a context manager; I have code somewhere which does that too.)

About

This repo contains my own personal experiments with the Python logging module: custom handlers, logging uncaught exceptions, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages