A basic logging library for Python.
Project description
log.py
📖 About:
A basic logging library for Python with the capability to:
- save to files.
- have custom formats.
- have custom levels.
- be used instantiated.
- be used non-instantiated.
📝 Basic Usage:
(For more advanced uses, please refer to the given examples or the documentation.)
Instantiated:
- Code:
from logpy import Logger
from logpy.log import Levels
logger = Logger()
logger.log("Hello World!")
logger.log("Oh no, something went wrong!", Levels.error)
- Terminal:
Non-instantiated:
- Code:
from logpy import Logger
from logpy.log import Levels
Logger.slog("Hello World!")
Logger.slog("Oh no, something went wrong!", Levels.error)
- Terminal:
🔧 Examples:
📚 Documentation:
❗ Requirements:
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
log.py-0.0.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
log.py-0.0.1-py3-none-any.whl
(6.7 kB
view hashes)