Skip to main content

Simple log format and other stuff

Project description

pylogus

Formatted log for python

Usage example:

import logging

from pylogus import logger_init

log = logger_init(__name__, logging.DEBUG)

def example():
    log.info("This is a info msg")
    log.debug("This is a debug msg")
    log.warning("This is a warning msg")
    log.error("This is a error msg")

if __name__ == "__main__":
    example()

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

pylogus-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

pylogus-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file pylogus-0.1.0.tar.gz.

File metadata

  • Download URL: pylogus-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pylogus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b495498fd504745b03094acb5887941b298f9ff63a3eef8439c6ac679e5f8287
MD5 bcdd88222ed6d242c3073aa4760c1c3a
BLAKE2b-256 8a3916413cb66e58c1f70c435ff4725880f90d410a497b2adefddd954422a98b

See more details on using hashes here.

File details

Details for the file pylogus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pylogus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pylogus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 074a226ccf3316b94795a6b69474b49d83ece0a6e32dd513f09f9fe540c722bd
MD5 9bace6b4fa0526c9fb10bc152e0750ed
BLAKE2b-256 4a716cf224e4fabcaa81defda3fdca24773246f456f56f77d9de44da18b583ac

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