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.5.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.5-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for alex_tech_logging_library-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5c523c3856686580cdaf447d68cc4b6a0c7c50ac07c3523bcba0cd0100d7a008
MD5 0dc34b0fe9447db4c3c9944bcbec202c
BLAKE2b-256 98ba215c7bf2a04f9f1d0d5039fe839b68828dde7c0d90b9549232cd02369741

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alex_tech_logging_library-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9bef4fd79e2dc857c9f02a41e1a5c34db282b0c8d7b82cc8cd34511709dcfb6a
MD5 6a8efec6d01fa80d7268bfcb81dd5d5c
BLAKE2b-256 e6afad96b6ab02b7c73e1f556f29b37709744a4f1890e1b1f56ee1c79e64e797

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