Skip to main content

A simple logger for basic projects

Project description

ApplePyLog

A simple logging library for small projects. There are 4 Logging levels:

  • Error
  • Info
  • Warn
  • Debug

You can write to any of these levels and change the current log level of what gets printed from the logger The log levels work as the order above so a log level of Error will only print Error logs A log level of Warn will print Warn, Info and Error logs but not Debug The default log level is Warn

You can pass in any writer with type TextIO, the default is sys.stdout but you can also pass in file writers

You can also specify an alternate writer, which defaults to None, which will write the same as the main writer, this can be useful to write your logs to stdout and also save them to a file. This alternate writer also has its own log level that can be specified, also with default of WARN.

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

applepylog-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

applepylog-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: applepylog-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for applepylog-0.1.0.tar.gz
Algorithm Hash digest
SHA256 67c57b0976167d48a59a7de86c74651c556cbe7fc21f14010741e590212b97cc
MD5 4455771cb2c78af61bd9eec21b41690a
BLAKE2b-256 afcca94ae7f625fd7d91af6af77ed672404cc88290602b866d22e1ad009a9b22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: applepylog-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for applepylog-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58dba7b22a91e846daf6b0cbf88b51d8c7cf37d7a92b47856eb39f06600def15
MD5 85cf2fedc2c83c75db598961344ca9af
BLAKE2b-256 b88ac77c4d4b7e1ace7bb22c26d1734eecf7a8493f3b66d4935fdaa30a0e3a43

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