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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: arlogger-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ff5234c4f7d2ad302864873ee6883badc49777b7785a2031c34d6e165ae47b7
MD5 33af67f527472595acfac375f7fefc14
BLAKE2b-256 9569098b317a59d9d8f654ba6e97fee1ce4fdcfc1e588815b4bbf10732f0a7f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page