No project description provided
Project description
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)
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
basiclog-0.1.1.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file basiclog-0.1.1.tar.gz
.
File metadata
- Download URL: basiclog-0.1.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 709928b39a8a4e45231518dbc46cbf983454fb63d3eff0e86175ff6019949957 |
|
MD5 | 2288c60bbc120f99158686e3a48d657e |
|
BLAKE2b-256 | aae651cd65ea477baf54ff88fb5797fbb7d0879ac05ca6e6dd3dbe1cb202c5a5 |
File details
Details for the file basiclog-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: basiclog-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ed4efb1b5e00f65c4e1b1f391e6920c73500d3a66550e1947f381a2723425d7 |
|
MD5 | 84c180d5bab5082b5ac2e1618ff967b3 |
|
BLAKE2b-256 | 43258d523a0146dc3fdca1235b06be7d4610f4787b7f18e22e9309a64ceb9228 |