Skip to main content

A logger setup module for Python projects

Project description

my_logger

how to use :

from logs_operations.logger_setup import setup_logger

logger1 = setup_logger(log_file="logs/logfile_name", log_handler='logger1', backup=15)

logger2 = setup_logger(log_file="logs/logfile2_name", log_handler='logger2', backup=15)

logger1.info("this is written to logfile_name")
logger2.info("this is in logfile2_name")

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

luke_logger-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

luke_logger-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: luke_logger-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for luke_logger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ea6c8a6790123ff8f31b579e8bc61a9f8118e81f5569574dc411fb9ec5e607d7
MD5 1474f90919baafdbd26f01af720e24e2
BLAKE2b-256 22941922f6b23b03bb36b2c3dd1b00ea4c434819ed10eb58369a136bc477205f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: luke_logger-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for luke_logger-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00b2d683eb2af39327b4b2dfd816fb026bfb0bc1f9202d241e6be5ac47f932dc
MD5 645736a54628239a11280acd0d594260
BLAKE2b-256 c6b28bc269454d371958a7609c6c4811f0c5bb5215ccf49fef278c484f13ec56

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