Skip to main content

Basic Log (basiclog)

Example code:

import traceback
import basiclog

logger = basiclog.log("debug", __file__)

# for slack error messages
logger.add_slack_handler(slack_api_toke, slack_channel)

logger.info("Script has been started")
try:
    main()
except KeyboardInterrupt:
    logger.info("Script has been stopped manually")
except:
    e = traceback.format_exc()
    logger.error(e)

Release files for basiclog 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for basiclog 0.1.1
File Size Uploaded
basiclog-0.1.1.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for basiclog 0.1.1
File Interpreter ABI Platform
basiclog-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.4 kB

Release files / basiclog-0.1.1.tar.gz

Download URL basiclog-0.1.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
709928b39a8a4e45231518dbc46cbf983454fb63d3eff0e86175ff6019949957
BLAKE2b-256 checksum
How to use checksums
aae651cd65ea477baf54ff88fb5797fbb7d0879ac05ca6e6dd3dbe1cb202c5a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.7.5 Windows/10

Release files / basiclog-0.1.1-py3-none-any.whl

Download URL basiclog-0.1.1-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ed4efb1b5e00f65c4e1b1f391e6920c73500d3a66550e1947f381a2723425d7
BLAKE2b-256 checksum
How to use checksums
43258d523a0146dc3fdca1235b06be7d4610f4787b7f18e22e9309a64ceb9228
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.7.5 Windows/10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page