Skip to main content

My interlayer package for python logging

Project description

LogOX

My interlayer package for python logging

About

LogOX is a small add-on over a standart logging module in Python, expanding the process of a logger declaring. Created to make the usage of logger in my own projects easier.

Feautures

  • Log messages store both in the console and in the file

  • Log files store in log/ directory and name by date

  • Rotating log file every 24 hours

  • Better built-in formatting style is used

  • Debug messages formatting with file name and code line

Example

import LogOX

log = LogOX.get_logger("MyApp")
debug = LogOX.get_logger(level=LogOX.DEBUG)

log.info("Starting...")
# [03/Jan/2022 21:20:09] MyApp:INFO: Starting...
debug.debug("Yeah debug")
# [03/Jan/2022 21:22:13] [test.py:7] test:DEBUG: Yeah debug
Log directory format:
log/
|- 2022-01-05.log
|- 2022-01-04.log
|- 2022-01-03.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

LogOX-1.0.0b1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

LogOX-1.0.0b1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file LogOX-1.0.0b1.tar.gz.

File metadata

  • Download URL: LogOX-1.0.0b1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for LogOX-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 0234a0d87d2c6f4025784a3e93a4327397e45029f3f2c1ae4b4819968c987beb
MD5 7752f5fb697099d18dbdfcd0edc94bc0
BLAKE2b-256 2409c57ddf6d053b0aa7893e01d9ff0d8dfa7206ad342ec6241a2d20e1cbca7a

See more details on using hashes here.

File details

Details for the file LogOX-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: LogOX-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for LogOX-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 f72443235575692618a72001178494e0441ee6a9d3d491c4bdc9dd05a2d4701c
MD5 941b8b0b724487a59c239f1c8f602caa
BLAKE2b-256 b44eb904f5fa8cb73532ca04934e809ca8ff26ba0a223309a66cc3e0009c18d4

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