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 details)

Uploaded Source

File details

Details for the file log4me-0.0.3.tar.gz.

File metadata

  • Download URL: log4me-0.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for log4me-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c663ee4ea979d9d860379259992aa8e36af33301d507947ba8674829c1f549b5
MD5 0d1ffba00ab5b88466a59d797f540267
BLAKE2b-256 102667aca5be6c084f799f99c26dc1a7ac530a4a8686c8edd4e21f01dbf3a811

See more details on using hashes here.

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