log.py 0.0.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

log.py 0.0.1

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:
Click me!
📚 Documentation:
❗ Requirements:

Python 3.10

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.