Easy python exception logging tool
Project description
- Logging decorator.
- out ->
brief : function that takes a string. default : print
- rtrn ->
brief : exclog return value default : False
- t ->
brief : Error indentation default : ‘’ note : Use tabulation or other symbols
Import
pip install exclog
Usage
import exclog
@exclog.logging()
def ...
def fileWrite(text : str):
...
@exclog.logging(__write=fileWrite, __rtrn='Error!', __t='\t\t')
def ...
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
exclog-0.0.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
exclog-0.0.1-py3-none-any.whl
(2.6 kB
view hashes)