Basic logger for personal python projects
Project description
log4me
A simple python logger for personal usage.
Installation
Use the package manager pip to install foobar.
pip install log4me
Usage
import log4me
# Init the logger # Create the dictionary
log = log4me.Logger("ServerLog", "./log/")
# And log
log.info("New Connection", "Address ... joined")
log.success("Created", "New file created")
log.warning("Lates version", "Client have not the latest version")
log.error("File", "Cant write to file")
License
Change Log
0.0.1 (30.05.2022)
- First release
- Logs (Info, Success, Warning, Error)
- Print the logs to a log file
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
log4me-0.0.2.tar.gz
(3.2 kB
view details)
File details
Details for the file log4me-0.0.2.tar.gz
.
File metadata
- Download URL: log4me-0.0.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6338ec7252caca2813ae86dd21ca26acb789d2d447da3c6e0627bf9011048f5a |
|
MD5 | 7ead58fc1e4bb80f19f3dcfe20581800 |
|
BLAKE2b-256 | 5674577c2e93e48b32ff8ae3219045b89ba7841f122795f94b8b730a7b74920d |