Skip to main content

A logger designed to bridge the Generational gap between programmers. It is designed to be be inclusive to all generations of programmers using the vocabulary they are most familiar with.

Project description

GLogger: The Logger That Speaks Your Language

Say hello to or GenLogger – the logger that makes your debugging a vibe. We’ve officially retired the tired old "DEBUG," "INFO," and "ERROR" for something with a little more personality: YAP, DEETS, SKETCH, SUS, and when things go totally sideways, COOKED.

This isn’t just a logger; it’s a generational bridge for your codebase. Gen Z will call it lit, Millennials will embrace it ironically (but actually love it), and Boomers… well, they’ll ask for the docs (they wont be here long anyways). So why settle for boring logs when you can debug with style? Spice up your workflow and let your logs do the talking!

For now, we only support the coolest generation of all time – Gen Z. But don't worry, we'll be adding support for Millennials, Boomers, and other generations soon because we're all about inclusivity, even though y'all ain't as cool as us, you're still cool.

Usage

To get started, simply integrate GLogger into your existing code:

import logging
from genlogger import GenLogging, GenZ
GenLogging(generation=GenZ)

This modifies the logging module in place and works seamlessly with your current setup. Important: Make sure you import glogger after importing the logging module. If you import it before and your system gets COOKED, well… that’s on you. We’re Gen Z; we don’t write tests. 😉

Contributing

Read CONTRIBUTING.md. Dont expect everything in README.md. Also figure it out, documentation is not a GenZ thing.

Example Logs

2024-12-03 12:41:14,649 - SYSTEM IS COOKED - Victoria Daniels queried something at 1986-12-26 19:29:17
2024-12-03 12:41:14,649 - JUST YAPPING - William Lewis deleted something at 1988-12-15 19:36:26
2024-12-03 12:41:14,649 - JUST YAPPING - Heidi Smith retrieved something at 1980-01-31 04:13:07
2024-12-03 12:41:14,649 - THAT'S SKETCH - Alyssa Day queried something at 1996-05-17 12:07:21
2024-12-03 12:41:14,649 - SOMETHING IS SUS - Lisa Rodriguez created something at 2013-09-26 02:56:25
2024-12-03 12:41:14,649 - JUST YAPPING - Dominic Yoder queried something at 2010-01-23 02:13:55
2024-12-03 12:41:14,649 - THAT'S SKETCH - Paul Mcconnell created something at 1997-09-29 22:33:00
2024-12-03 12:41:14,649 - SOMETHING IS SUS - Savannah Schroeder retrieved something at 2007-06-22 22:12:29
2024-12-03 12:41:14,649 - THAT'S SKETCH - Dennis Cook updated something at 2024-10-31 11:30:04
2024-12-03 12:41:14,649 - SOMETHING IS SUS - Ronald Goodwin created something at 1975-11-02 22:35:27

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

genlogger-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genlogger-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file genlogger-0.1.1.tar.gz.

File metadata

  • Download URL: genlogger-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for genlogger-0.1.1.tar.gz
Algorithm Hash digest
SHA256 59565472d4eba676249bf052de0e98b046cc97ba36198bf630b5b01e7daba45b
MD5 3e2dc17d90ae05a2b06db6b2c340b17b
BLAKE2b-256 c3c876e694fa6b20587b5065116df937b44edb16296dc153bde7af4c45345b9e

See more details on using hashes here.

File details

Details for the file genlogger-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: genlogger-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for genlogger-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 467db250f7198ca6246af59e5936eea8ac5ed5e253557fe992accc505a8c42b5
MD5 65402081370e098cf25e70bb1c9e1f90
BLAKE2b-256 a6a28aad5cf9b3260c6a0440fe80901d95292b4d6195231b0d1e7ab1ca287299

See more details on using hashes here.

Supported by

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