Skip to main content

FancyLogger

Downloads Downloads Downloads
With this library, Log in style!

This library is still under development, so we appreciate if you help us improve it on the GitHub!

Having an issue?

You can always find someone on our discord server here:

https://discord.agmstudio.xyz/

Wiki

The official wiki of this library is now available at GitHub

https://git.agmstudio.xyz/FancyLogger/wiki

How to install

To install just use following command

pip install PyFancyLogger

This library will have dev/beta builds on the GitHub, to install them you can use

pip install --upgrade git+https://github.com/AGM-Studio/FancyLogger.git

Example

This is based on file below:

https://github.com/AGM-Studio/FancyLogger/blob/master/test.py

from FancyLogger import FancyLogger, FancyFormatter, Formats

logger = FancyLogger('Test', FancyFormatter(Formats.detailed))

logger.setLevel(0)

if __name__ == '__main__':
    logger.debug('This is a debug')
    logger.info('This is an info')
    logger.warning('This is a warning')

    try:
        int('Not an int')
    except Exception as e:
        logger.error(f'This is an error for {e}')

    try:
        int('Not an int either')
    except Exception as e:
        logger.exception(f'This is an error for {e}')

    logger.critical('IMPORTANT: THIS IS A CRITICAL MESSAGE')

    print('\n----- Testing Sub loggers -----\n')

    logger.sub('Sub 1').info('A sub to the parent')
    logger.sub('Sub 2').info('Another sub logger!')

    logger.sub('Sub 1').info('Previous one is still available!')
    logger.sub('Sub 1').sub('Sub in Sub').critical('EVEN SUBS CAN HAVE SUBS!')

Result

Advertisement Banner

Extras & Features

...

Metadata

Release files for pyfancylogger 0.3.2

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

Source distribution (sdist)

Source distribution for pyfancylogger 0.3.2
File Size Uploaded Provenance
pyfancylogger-0.3.2.tar.gz 5.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 11.3 kB

Release files / pyfancylogger-0.3.2.tar.gz

Download URL pyfancylogger-0.3.2.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
362700547e5488eed52b7b3bce3add7db7753739a215cc42591abcf8f00533ba
BLAKE2b-256 checksum
How to use checksums
dd31e6e2594fdf109605d8f59e608633bac9ee93501a4260a6befdd14c050c30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.31.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.6

Release files / pyfancylogger-0.3.2-py3-none-any.whl

Download URL pyfancylogger-0.3.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bce8b535ccf9e65850f6d268a3323ed77dcae6eacee4264f86472109fc974a5e
BLAKE2b-256 checksum
How to use checksums
709e53765e1706829582cc8102556055abd938e0a077bc8075177dd0ecb2924f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.31.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.6

Security for pyfancylogger 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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