Skip to main content

Loggingpython is a Python package that provides a simple and extensible way to integrate logging into your applications. The package starts with a simple logger and can be extended with additional functions to meet the requirements of your application.

Project description

loggingpython

loggingpython is a Python library that provides a simple and extensible way to integrate logging into Python applications. In contrast to the standard logging library, loggingpython offers a completely independent implementation of handlers and loggers that have been specially developed for the requirements of modern applications.

Features

  • Simple Logger: Begin with a basic logger and extend it with additional functions.
  • Extensible: Easily add more functionality to meet your application's logging needs.
  • Customizable: Tailor the logging system to your specific requirements.

Installation

You can install loggingpython using pip:

pip install loggingpython

Alternatively, you can install the latest development version directly from GitHub:

git clone https://github.com/loggingpython-Community/loggingpython.git
cd loggingpython
pip install .

Quick start

To use loggingpython, you first need to import the package and create a logger:

import loggingpython as lp

# Create a simple logger with a file handler and a console handler
logger = lp.getBasicLogger()

You can add various handlers to your logger to customize how log messages are handled:

# Log messages at different levels
logger.debug("This is a debug message.")
logger.info("This is an info message.")
logger.warning("This is a warning.")
logger.error("This is an error.")
logger.critical("This is a critical error.")

Contributing

We welcome contributions to loggingpython. If you have feedback, suggestions, or would like to contribute, please visit our GitHub repository.

License

loggingpython is licensed under the MIT License.

Further Resources

Social Media

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

loggingpython-1.4.4.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

loggingpython-1.4.4-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

Details for the file loggingpython-1.4.4.tar.gz.

File metadata

  • Download URL: loggingpython-1.4.4.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for loggingpython-1.4.4.tar.gz
Algorithm Hash digest
SHA256 5b41109da07f411a0f3178e2ab1f3de2a3a80eb8f84544dc423a3a8cad13b34e
MD5 eb466568cbeba0631c3ea68d7e19439d
BLAKE2b-256 bb5d1c18504fd69343cd8d0d97f8474114d6db15f9e9f6be2de6a3451f9c1559

See more details on using hashes here.

File details

Details for the file loggingpython-1.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for loggingpython-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8d6688cfd2fcb2e33ff5103b215f1244b4978dafa7afc613d970e7a92d564c86
MD5 4552c32da277209306328bfab150da3a
BLAKE2b-256 29a03c267dc2e8f3acad364f83893a39fe76c222d76da7612f2e45d8fae3129d

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