Skip to main content

version licence

Angry Logging Made Easy

Do you want to show your logger to be more passive aggressive? maybe just actual aggressive? This is the library for you.

Installation

You can install via pip!

pip install angry-logger

Usage

When deciding your project needs more aggression, all you have to do is tell the Angry Logger to go to town. Like so.

import angry_logger
angry_logger.start()

If you're not a fan of naughty words, you can tell the angry logger to be less of a potty mouth.

import angry_logger
angry_logger.start(potty_mouth=False)

From here, use your logging as you normally would.

import angry_logger
import logging

angry_logger.start(potty_mouth=False)
logging.basicConfig(level=logging.DEBUG)

test_logger = logging.getLogger("test_logger")

test_logger.debug("this is a test debug message")
test_logger.info("this is a test info message")
test_logger.warning("this is a test warning message")
test_logger.error("this is a test error message")

This will output your new normal, information hidden behind abuse.

DEBUG:test_logger:Can I go home now? this is a test debug message
INFO:test_logger:this is a test info message. But what do you mean by that?
WARNING:test_logger:Did you do something stupid? Look: this is a test warning message
ERROR:test_logger:this is a test error message????? Are you *****ING kidding me??

Release files for angry-logger 1.0.1

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

Source distribution (sdist)

Source distribution for angry-logger 1.0.1
File Size Uploaded
angry_logger-1.0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for angry-logger 1.0.1
File Interpreter ABI Platform
angry_logger-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / angry_logger-1.0.1.tar.gz

Download URL angry_logger-1.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b44d31ceaa7fb66637aa81a7d5def34112458ba25c90400fb9441caa987e030
BLAKE2b-256 checksum
How to use checksums
b7acae6d6343bdf2b6b233a3cfcfa3bcea9be0be3a58ffc18bee49c6391de013
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.10.3 Darwin/22.4.0

Release files / angry_logger-1.0.1-py3-none-any.whl

Download URL angry_logger-1.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
405b3af3861e1d8cfa38b1b234745c15ca27c5e5399afbad3aae8a16b05f2d2e
BLAKE2b-256 checksum
How to use checksums
0be6695f241e95452a0ef3d035f1979edb57480772d1126b9f0460f36b9f511c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.10.3 Darwin/22.4.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.1.0

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