Skip to main content

A logger for PaiGram's projects.

Project description

paigram-logger

A logger for PaiGram's projects.

Python 3.8 GitHub file size in bytes PyPI

License GitHub Workflow Status View

使用方法

使用默认配置

from pg_logger import Logger

logger = Logger()

logger.info("info log")
logger.success("success log")

自定义配置 Logger

from pg_logger import Logger, LoggerConfig

logger = Logger(
    LoggerConfig(
        width=120,
        keywords=['GET', 'PUT', 'POST']
    )
)

logger.info("[GET] info log")
logger.success("[PUT] success 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 Distribution

paigram_logger-0.0.2.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

paigram_logger-0.0.2-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file paigram_logger-0.0.2.tar.gz.

File metadata

  • Download URL: paigram_logger-0.0.2.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.0 Linux/5.15.0-1034-azure

File hashes

Hashes for paigram_logger-0.0.2.tar.gz
Algorithm Hash digest
SHA256 028e26b4621109d5e7f83a3cec9660813324402232184f80c097a1e96518ca98
MD5 96d91ac66e4065455a5fa850e1b4c82a
BLAKE2b-256 164f252d99efbdb4d6f55258991f3f9a802c6e5bea377d53faa75a34c544c25c

See more details on using hashes here.

File details

Details for the file paigram_logger-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: paigram_logger-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.0 Linux/5.15.0-1034-azure

File hashes

Hashes for paigram_logger-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 de76fd0e29d9d512f4877d57daf213dd6b179cd41e7eaf020b7fc6bb1b30f593
MD5 0b832623bba11530f642a525b038040b
BLAKE2b-256 4dfa6d64d78c096e3b4431141a76a2d3e9da15fc995d7b1b9c016d9132f85e9a

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