Custom python logging module
Project description
Python Custom Logging Module
This is a custom logging module for Python. It is a simple module that allows you to log messages to a file and/or the console. It also allows you to set the log level so that you can control which messages get logged.
Installation
Way 1. To install the module, simply copy the logging.py file to your project directory.
Way 2. You can also install the module using pip:
pip install emoji_logger
Usage
Here is an example of how to use the module:
from emoji_logger import Logger # < This is a logger class what you can use to create a logger object
from emoji_logger import logger # < This is a logger object what you can use directly (level: INFO)
logger.debug("This is a debug message")
logger.info("This is an info message")
logger.warning("This is a warning message")
logger.error("This is an error message")
logger.critical("This is a critical message")
- Pypi: emoji_logger
- GitHub: Jin-Doh/python-logging
Project details
Release history Release notifications | RSS feed
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 emoji_logger-0.1.2.tar.gz.
File metadata
- Download URL: emoji_logger-0.1.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
899f4c64887114b5842f56c791e005e8ff768d49edf556ecb1bc15a6870d0053
|
|
| MD5 |
e8384c0b6ed9a535fce3910d96aa5ad8
|
|
| BLAKE2b-256 |
55f6308743c06282dc7aec1685609f103ff52c5dc21e4550d94d8be037508487
|
File details
Details for the file emoji_logger-0.1.2-py3-none-any.whl.
File metadata
- Download URL: emoji_logger-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f24123db1943ec463df667bd280aad4100b6f2bf82bbb7439ce9cdc6093bafe
|
|
| MD5 |
8a8f954b95f5b646512b1ce34f53e834
|
|
| BLAKE2b-256 |
622be49774d246ccdc6cb3faccf9b74482198f13cf661f78de1a8724e5e02e89
|