Skip to main content

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

MIT

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page