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.13.tar.gz (4.0 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.13-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emoji_logger-0.1.13.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for emoji_logger-0.1.13.tar.gz
Algorithm Hash digest
SHA256 7018600818a8ff4241c6a2f79202026a2028f48a0ff17677946f7078583895d2
MD5 b4a51f5db4a6c1c7c651b8edab95c831
BLAKE2b-256 41070f600dc8a4d155b0609e8203d9a4b83b324791c2b15efc7f54814b622392

See more details on using hashes here.

File details

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

File metadata

  • Download URL: emoji_logger-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for emoji_logger-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 753ac8695c447830b55533e49a8fc2c0ec40829bc54d0301fa2b3ee7c8747d6b
MD5 d7a1188ba272a0f328f0242bd23d527a
BLAKE2b-256 65d06d82c6dd17751e166ee88c8b99da4996765d7c59fdf0c6714f89a01122b4

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