Skip to main content

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


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)

Uploaded Source

Built Distribution

exclog-0.0.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page