Skip to main content

No project description provided

Reason this release was yanked:

reconfigure not work

Project description

Advanced logger

it provides colorful printing and it is be able to customize

Install

Run command: pip install advanced-logger

Try it

import logger

logger.debug("Hello")

Do something andvanced

  1. Colorful printing

Write this line before any action

import logger as log

logger = log.getLogger("test.test", colored=True)

logger.debug("Hello")
  1. Write your own handler

If you want to pipe message to standard error output, you do:

from logger.handler import FileObjectHandler
import logger as log
import sys

class StdErrHandler(FileObjectHandler):
    def __init__(self):
        super().__init__(sys.stderr)

logger = log.getLogger("test", handler=StdErrHandler())

logger.debug("test")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

advanced_logger-1.0.0a1.post5.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

advanced_logger-1.0.0a1.post5-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file advanced_logger-1.0.0a1.post5.tar.gz.

File metadata

  • Download URL: advanced_logger-1.0.0a1.post5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.9

File hashes

Hashes for advanced_logger-1.0.0a1.post5.tar.gz
Algorithm Hash digest
SHA256 d1c165f4d337b777faf0ccd0b6c540bd7782b5112b1b4fe43674627dba549f03
MD5 75f6bb90903cb66f78e0364d15cde2ab
BLAKE2b-256 d6d293c183d6ee679fda23b0b55b6fc157420f82c9b3cb85e4a893851acf604d

See more details on using hashes here.

File details

Details for the file advanced_logger-1.0.0a1.post5-py3-none-any.whl.

File metadata

File hashes

Hashes for advanced_logger-1.0.0a1.post5-py3-none-any.whl
Algorithm Hash digest
SHA256 2c40ca889b8b51cdaf377a39ee2e2c4757c22bcb3d31824fcc664a7bcc5c87ad
MD5 74a048c16acd5c2fe2ade776124ab640
BLAKE2b-256 f91eb8421d22387a9bb859c49d2cd6d0e4a4dff5ee4f7334b49dd5105cef8435

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