Skip to main content

Fancy defaults for the awesome loguru logs!

Project description

Auto-Loguru

Fancy defaults for the awesome loguru logs!

Simple!

Install:

pip install as_loguru


Use in Python script:

from as_loguru import logger


This is a wrapper for the marvlous loguru logging package. Below is the information from the original project repo.

Loguru logo

Pypi version Python versions Documentation Build status Coverage Code quality License

Loguru logo


Loguru is a library which aims to bring enjoyable logging in Python.

Did you ever feel lazy about configuring a logger and used print() instead?... I did, yet logging is fundamental to every application and eases the process of debugging. Using Loguru you have no excuse not to use logging from the start, this is as simple as

from loguru import logger

logger.info("I'm logging now!")

Also, this library is intended to make Python logging less painful by adding a bunch of useful functionalities that solve caveats of the standard loggers. Using logs in your application should be an automatism, Loguru tries to make it both pleasant and powerful.

Installation

pip install loguru

Features

  • Ready to use out of the box without boilerplate
  • [No Handler, no Formatter, no Filter: one function to rule them all][ready to use out of the box without boilerplate]
  • [Easier file logging with rotation / retention / compression][ready to use out of the box without boilerplate]
  • [Modern string formatting using braces style][ready to use out of the box without boilerplate]
  • [Exceptions catching within threads or main][ready to use out of the box without boilerplate]
  • [Pretty logging with colors][ready to use out of the box without boilerplate]
  • [Asynchronous, Thread-safe, Multiprocess-safe][ready to use out of the box without boilerplate]
  • [Fully descriptive exceptions][ready to use out of the box without boilerplate]
  • [Structured logging as needed][ready to use out of the box without boilerplate]
  • [Lazy evaluation of expensive functions][ready to use out of the box without boilerplate]
  • [Customizable levels][ready to use out of the box without boilerplate]
  • [Better datetime handling][ready to use out of the box without boilerplate]
  • [Suitable for scripts and libraries][ready to use out of the box without boilerplate]
  • `Entirely compatible with standard loggin

[Ready to use out of the box without boilerplate]:

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

AutoSysLoguru-0.4.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

AutoSysLoguru-0.4.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file AutoSysLoguru-0.4.0.tar.gz.

File metadata

  • Download URL: AutoSysLoguru-0.4.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.5 Darwin/20.0.0

File hashes

Hashes for AutoSysLoguru-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a5a714ddf4c7570cf120bbe6a62f2e6ef135ed2725cf9b2b6991cb93a8a4567c
MD5 67bf77eb012f86a483ec9e1aa25210ae
BLAKE2b-256 f26e186013758e27b90f44c739b84c507465412f681401da5e6f23596f0c13e8

See more details on using hashes here.

File details

Details for the file AutoSysLoguru-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: AutoSysLoguru-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.5 Darwin/20.0.0

File hashes

Hashes for AutoSysLoguru-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0baa2c73ed8339f8d8275529442fb841875200231872508dc9f5c830dd2f31f5
MD5 ebe019a87520f68bd21512e68f04206a
BLAKE2b-256 b1f482b7480bc8beba769f8c841b9897a15ae35fb4651f16e824a781c158a93e

See more details on using hashes here.

Supported by

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