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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file exclog-0.0.1.tar.gz.

File metadata

  • Download URL: exclog-0.0.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for exclog-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6a371aa47325d618214125dda2675d98b9fd2d53fbbd15dc09a447349cb4fd81
MD5 de9e133fc5778e909cdd2d23ea3b8aae
BLAKE2b-256 ebc4697c0a67bdbd88515b5573f2f10d67c35dafc0140291853b78cff1e3d6ac

See more details on using hashes here.

File details

Details for the file exclog-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: exclog-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for exclog-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73d75ad3db53a8eb5d5e9c58f0a1c97283e1408b1db4925cd4517e41f7a05212
MD5 ce1b5e07bfb99cf218f0768145622a37
BLAKE2b-256 7900657c9d82d5f3758269ec13c30d0aa1858ebf96b6105dc2696d32b4d56b2c

See more details on using hashes here.

Supported by

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