Send urgent and daily log files to a remote server
Project description
ARDIC AI Logger Package
A package that sends urgent logs to specified URL to be processed and displayed. Uploads daily log files to specified URL periodically.
Usage
from arlogger import *
def test_func():
logger.debug("This is a debug message")
logger.info("This is an info message")
logger.warning("This is a warning message")
logger.error("This is an error message")
logger.critical("This is a critical message")
if __name__ == "__main__":
url = "" # URL of the server that will process the incoming logs
projectName = "ARDIC AI Logger Test"
logger = ArLogger().setUrl(url=url, projectName=projectName).setLevel(httpLevel=logging.ERROR, localLevel=logging.DEBUG)
test_func()
The output will contain the following information; log time, function name that generated the log, severity of log and the message of the log.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file arlogger-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: arlogger-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2829bc62be91af84212002d90dd4ae4082b383bbf3258abcbce7ebfc2cb82349 |
|
MD5 | 38671baf3d37f4bfb001f2ecd09960a8 |
|
BLAKE2b-256 | af91bc76091543fcf67244e939ffd46b2c73c9261f4340c087bbadef9fa79979 |