package for easy logging
Project description
Logme is a Python package that makes logging simple and robost. If you have found logging in Python not so straight forward, download this package and give it a try! :)
In A Nutshell
If you have a function you want to log, you can do this in your python file:
import logme
@logme.log
def my_awesome_function(my_arg, logger=None):
logger.info('this is my log message')
"""rest of the function"""
You can do the same with classes too:
import logme
@logme.log
class MyAwesomeClass:
def my_function(self, my_arg):
self.logger.info('this is my log message')
pretty nice right? :)
Documentation
You can find the documentation at http://logme.readthedocs.io/en/latest/ . Give it a try!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
logme-1.0.7.tar.gz
(9.5 kB
view hashes)
Built Distribution
logme-1.0.7-py2.py3-none-any.whl
(12.8 kB
view hashes)
Close
Hashes for logme-1.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46faf6c79f5378d25115f5bc1fd7fab88c1fc9eb85a053dbfd70855b8f25da1c |
|
MD5 | 9ef7f7a304eba6b149076e5705904e24 |
|
BLAKE2b-256 | 11f75d7bb93a2bb712bde2507d026fe88e6151c8394a708e37f00de5854fa924 |