Skip to main content

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]:

Metadata

Release files for autosysloguru 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autosysloguru 0.4.0
File Size Uploaded
AutoSysLoguru-0.4.0.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autosysloguru 0.4.0
File Interpreter ABI Platform
AutoSysLoguru-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.5 kB

Release files / AutoSysLoguru-0.4.0.tar.gz

Download URL AutoSysLoguru-0.4.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a5a714ddf4c7570cf120bbe6a62f2e6ef135ed2725cf9b2b6991cb93a8a4567c
BLAKE2b-256 checksum
How to use checksums
f26e186013758e27b90f44c739b84c507465412f681401da5e6f23596f0c13e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Darwin/20.0.0

Release files / AutoSysLoguru-0.4.0-py3-none-any.whl

Download URL AutoSysLoguru-0.4.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0baa2c73ed8339f8d8275529442fb841875200231872508dc9f5c830dd2f31f5
BLAKE2b-256 checksum
How to use checksums
b1f482b7480bc8beba769f8c841b9897a15ae35fb4651f16e824a781c158a93e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Darwin/20.0.0

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page