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 GLogger 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 glogger 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.0.tar.gz (4.7 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.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genlogger-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 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.0.tar.gz
Algorithm Hash digest
SHA256 491e1ed180db26e115d777f99ac6bf9eb7cb512babe063c360d6d0424c83d95d
MD5 14955c91c7e32befa0b3b1338c8ebbad
BLAKE2b-256 36f47be1a26c43c4147f4dfcc2aa4f5e0ae3239c78664898c385be78537b9b75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genlogger-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f7019984a5faafa4fb22ac308af93e11a96ca3524e68631054a43e942b2e515
MD5 5e3733cbf562f992050a1c31a3fc5e04
BLAKE2b-256 35d038f382b9bd293f5f86fae88370c373b16b2c6dc541acfe0b540b58c78bf6

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