Skip to main content

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

  1. Automatically install the module using pip:
pip install emoji_logger
  1. Manually install the module: Way 1. To install the module, simply copy the logging.py file to your project directory.

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")

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

emoji_logger-0.1.14.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

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

emoji_logger-0.1.14-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file emoji_logger-0.1.14.tar.gz.

File metadata

  • Download URL: emoji_logger-0.1.14.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.24

File hashes

Hashes for emoji_logger-0.1.14.tar.gz
Algorithm Hash digest
SHA256 b7da4659c0190527cb0e7eb14238a89b8054aee7a5a529d8dc3c9ad1014839ae
MD5 c8b7664cad8c118c686a90646ec221ee
BLAKE2b-256 5696274e357a83db548c3daffd7c4aea9b25737e9704b3b6b91ae6ac637ff78f

See more details on using hashes here.

File details

Details for the file emoji_logger-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for emoji_logger-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 169d4982639f827292495497907403eeb083268e82fb3b990c0742e3721fc072
MD5 dd59751d250245b609c197360d2dbe0f
BLAKE2b-256 9bad8bb97dc242895243e7d41dff46fb3bc3f5faa73ae2f07c51af7d2e9e401d

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