Skip to main content

A custom logging library built on Python's standard logging module. It provides a simple way to set up a logger with file and console handlers.

Project description

Alex Tech Logging Library

A custom logging library built on Python's standard logging module.

Installation

pip install alex-tech-logging-library

Usage

from alex_tech_logging_library import setup_logger

# name is the application name and log_file is full path of the log file that exists.
logger = setup_logger(name='my_logger', log_file='app.log')

# Example log messages
logger.info("This is an info message")
logger.warning("This is a warning message")
logger.error("This is an error message")

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

alex_tech_logging_library-0.1.4.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

alex_tech_logging_library-0.1.4-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file alex_tech_logging_library-0.1.4.tar.gz.

File metadata

File hashes

Hashes for alex_tech_logging_library-0.1.4.tar.gz
Algorithm Hash digest
SHA256 aa6c874c5211424805b2a75f366ec96a6a88444d2bd87cbab2486db2d568403a
MD5 d0fd9f57c151cdb5c7f5711c5bedffb8
BLAKE2b-256 dcd80ec753462dd7d2a1c961fdbb14c1db7ce433b38f8f366405b64a8d0f19bc

See more details on using hashes here.

File details

Details for the file alex_tech_logging_library-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for alex_tech_logging_library-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 528a4b81cdd623d3339093882c76fbeb7149bda9e1a730198e2d2ea713e966b8
MD5 bfdeac1e465388697a49a711643d1ed3
BLAKE2b-256 85111020c49806206a8b7c5a57524f5bfa6ce3f37b3bd8781d4572e37c1669fa

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