A simple logger
Project description
This package provides a simple logging functionality. In the current version it allows you to
- post log messages that are added in a local file (log.txt)
- completely clear the log file
The package provides two functions:
Posting a log message
log("message") optional params are
- source: i.e. the file variable
- level: i.e. "ERR", default is "INF"
Clearing the log file
clear() no params
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
haslda_log-0.0.2.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file haslda_log-0.0.2.tar.gz.
File metadata
- Download URL: haslda_log-0.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
416c7152acde3e09c947969deada1725ddfa75933d43b092c64209a8ee2e70ce
|
|
| MD5 |
003c0aa885ba92be50062cfbaea01afd
|
|
| BLAKE2b-256 |
ab8e63de80bdb81a602a0f82daa30336d470b772920b5522bcbcfca9b799fcfe
|
File details
Details for the file haslda_log-0.0.2-py3-none-any.whl.
File metadata
- Download URL: haslda_log-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49856697f76ef8d5a71b828a91123e944d326eb959c732a8bf8e7f8fdd3e7891
|
|
| MD5 |
7eecd049805ed681b414ffa1d131a407
|
|
| BLAKE2b-256 |
8b8234a68874bfddaa52725997c084db205a695e469df72ffaf23efa5960ef12
|