Skip to content

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

License

loggingpython-Community/loggingpython

Repository files navigation

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

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages