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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alex_tech_logging_library-0.1.5.tar.gz.
File metadata
- Download URL: alex_tech_logging_library-0.1.5.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c523c3856686580cdaf447d68cc4b6a0c7c50ac07c3523bcba0cd0100d7a008
|
|
| MD5 |
0dc34b0fe9447db4c3c9944bcbec202c
|
|
| BLAKE2b-256 |
98ba215c7bf2a04f9f1d0d5039fe839b68828dde7c0d90b9549232cd02369741
|
File details
Details for the file alex_tech_logging_library-0.1.5-py3-none-any.whl.
File metadata
- Download URL: alex_tech_logging_library-0.1.5-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bef4fd79e2dc857c9f02a41e1a5c34db282b0c8d7b82cc8cd34511709dcfb6a
|
|
| MD5 |
6a8efec6d01fa80d7268bfcb81dd5d5c
|
|
| BLAKE2b-256 |
e6afad96b6ab02b7c73e1f556f29b37709744a4f1890e1b1f56ee1c79e64e797
|