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 hashes)
Built Distribution
Close
Hashes for haslda_log-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49856697f76ef8d5a71b828a91123e944d326eb959c732a8bf8e7f8fdd3e7891 |
|
MD5 | 7eecd049805ed681b414ffa1d131a407 |
|
BLAKE2b-256 | 8b8234a68874bfddaa52725997c084db205a695e469df72ffaf23efa5960ef12 |