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.6.tar.gz (2.7 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.6-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for alex_tech_logging_library-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ef364f49367f3364a7f3cbafdd39dcef868d8c6e37afb2466dea8d251722b185
MD5 36adf59858b398ff30dc75dfd906040e
BLAKE2b-256 43f45a7a9160d5a422cadb16f589b8a9425685fcd8e1ed1db780315706198ca4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alex_tech_logging_library-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b331dcb4a5ed6c24eba04485c24c94f75ad603eabdf3f4c215653a5de3046c41
MD5 be5fe494f9f18f29425067fce15fec23
BLAKE2b-256 8304bc137105a673f6219b84e777e9dbcc8e8c02556ebb2565965e0170060887

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