Skip to main content

No project description provided

Project description

Text File Generation Module

This Python module provides a simple logging functionality, allowing users to generate text log files.

Usage

Once installed, you can import the module into your Python script like this:

from log import log_message

log_message("logFile", "error", "this is a test message")

Additional Examples:

  1. Logging an informational message:

    log_message("logFile", "info", "this is an informational message")
    
  2. Logging a warning message:

    log_message("logFile", "warning", "this is a warning message")
    
  3. Logging a debug message:

    log_message("logFile", "debug", "this is a debug message")
    
  4. Logging a critical message:

    log_message("logFile", "critical", "this is a critical message")
    

Cornelius Vincent @MIT @author

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

simply-log-0.2.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simply_log-0.2.1-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file simply-log-0.2.1.tar.gz.

File metadata

  • Download URL: simply-log-0.2.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for simply-log-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9c5c2bae8e1871ddfd237fbb31f9d8a7def2c2c67668dd2409a476f43f565712
MD5 94ea52773140031058793f52b9a704aa
BLAKE2b-256 cfe3ea76b559874dcc4e7da3e36ca7e9ff2fe8b621028e319e52baa6b53d7752

See more details on using hashes here.

File details

Details for the file simply_log-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: simply_log-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for simply_log-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 efdf6cee88da453ca7f26b7cf6573a35cf4ca5c94823fcca5a5bb7fa737c7dc9
MD5 a797f73e8f6bf267b281cf58e5833919
BLAKE2b-256 461cbbfc944a1ba927d08440172610fc814ffc9830b497891bbabeaad16d39dd

See more details on using hashes here.

Supported by

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