Basic logger for personal python projects
Project description
log4me
A simple python logger for personal usage.
Installation
Use the package manager pip to install log4me.
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
0.0.2 (31.05.2022)
- Change the readme
0.0.3 (08.06.2022)
- Autmatic create directory
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.3.tar.gz
(3.5 kB
view hashes)