Skip to main content

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


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

arlogger-1.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file arlogger-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: arlogger-1.0.2-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

Hashes for arlogger-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e425f2dde51e9bb67750b48c4907dda3bef905d500a156122f205b55cc23d36
MD5 dd843edd7277abead790586ce4ac0ffb
BLAKE2b-256 ce889f2d5c94d44546a4827152f89327adb5a9c263baaca5c00e6bbdc53673b4

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