Current collected state Current
Observed since 20 Oct, 20:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aerialog
A simple logger for python, but with colours!
A simple, yet effective logger built in Python.
python3 -m venv env and then activate the environment through source env/bin/activate (may differ on Windows)pip install aerialogimport aerialog.logger import Loggerlog = Logger()You may also use .env files and directly set the log_level through that too
#FATAL, ERROR, WARN, INFO, DEBUG, SILLY
# If not any of those above, it will default to DEBUG
# If it's not called LOG_LEVEL it will also default to DEBUG
LOG_LEVEL=DEBUG
from aerialog import Logger
log = Logger()
def main():
log.info("This is a really interesting info message!", "Main")
log.error("Oh no! an error happened here", "Error")
def file_setup():
log.set_file("awesome-project.log")
log.info("This now gets logged to the file!", "File")
log.remove_file() # It will now log back to the terminal
This project uses the following license: PYTHON PACKAGING AUTHORITY.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
python-dotenvEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | python-dotenv | runtime |
bdist_wheel · 4.78 KB · Python py3
sdist · 4.55 KB · Python source
Observed since 20 Oct, 20:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:22d0bbc59f15ef070a6f739ccddff27345a8055a1ba28a128eb34d63289570c6