https://github.com/loggingpython-community/loggingpython
`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.
https://github.com/loggingpython-community/loggingpython
community-project debugging developer-tools error-handling log-management logging mit-license monitoring open-source python python-3 python-library python-package software-development
Last synced: 11 months ago
JSON representation
`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.
- Host: GitHub
- URL: https://github.com/loggingpython-community/loggingpython
- Owner: loggingpython-Community
- License: mit
- Created: 2024-03-08T16:49:46.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T15:26:23.000Z (about 2 years ago)
- Last Synced: 2024-04-14T06:47:40.279Z (about 2 years ago)
- Topics: community-project, debugging, developer-tools, error-handling, log-management, logging, mit-license, monitoring, open-source, python, python-3, python-library, python-package, software-development
- Language: Python
- Homepage:
- Size: 140 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: Docs/contributing.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 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:
```bash
pip install loggingpython
```
Alternatively, you can install the latest development version directly from GitHub:
```bash
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:
```python
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:
```python
# 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](https://github.com/loggingpython-Community/loggingpython).
## License
`loggingpython` is licensed under the [MIT License](https://opensource.org/licenses/MIT).
## Further Resources
- [Documentation](https://github.com/loggingpython-Community/loggingpython/wiki)
- [GitHub Repository](https://github.com/loggingpython-Community/loggingpython)
- [Issue Tracker](https://github.com/loggingpython-Community/loggingpython/issues)
- [Changelog](https://github.com/loggingpython-Community/loggingpython/blob/main/CHANGELOG.md)
- [PyPi](https://pypi.org/project/loggingpython/)
## Social Media
- [GitHub](https://github.com/loggingpython-Community)