Skip to main content

A simple logger

Project description

This package provides a simple logging functionality. In the current version it allows you to

  • post log messages that are added in a local file (log.txt)
  • completely clear the log file

The package provides two functions:

Posting a log message

log("message") optional params are

  • source: i.e. the file variable
  • level: i.e. "ERR", default is "INF"

Clearing the log file

clear() no params

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

haslda_log-0.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

haslda_log-0.0.2-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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