Skip to main content

A very simple logger

Project description

Just Another Logger

A simple logger that i use in my python projects.

Usage

You can import the logger class like this:

from justanotherlogger import Logger

To set it up, you run:

logger = Logger.Logger()
logger.setup(type=Logger.INFO, filenameDirectory = "./", filename = f"{str(datetime.date.today())}.log"):
Parameter Usage
type Determines the minimum Error level of the log, Any log under this level will be ignored
filenameDirectory Tells the Logger which directory to store the log in.
filename Tells the logger what to call the log

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

justanotherlogger-0.0.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

justanotherlogger-0.0.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file justanotherlogger-0.0.3.tar.gz.

File metadata

  • Download URL: justanotherlogger-0.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for justanotherlogger-0.0.3.tar.gz
Algorithm Hash digest
SHA256 238176572aa24e57c3a63b0e407ed3a8ec866068b240deb8ab1ca08c6d6d2a4c
MD5 73838948e0a9390c0933c1032878ed73
BLAKE2b-256 a41cb1b740a57f7ac542a0a5716d5c794619ee4eb966063637b811150d19eded

See more details on using hashes here.

File details

Details for the file justanotherlogger-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for justanotherlogger-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 24d849d99739958c67de5955d0b09bfb90f95ce90d8c483f776dac756f54c60a
MD5 0bb7ca0b74af11ab5f0935dcac98b63b
BLAKE2b-256 cde0ffdc2ad936c5743f00391714a4aa8b749afb41aa39a942f04fa673bdadc4

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