Skip to main content

Yet Another custom logger

Project description

Yet Another Logger Documentation Status PyPI License: GPL v3 Code Style

Minimalist logger written in python.

Currently only provides three functions for logging. Also currently log() only supports logging text and dict, whereas for other python objects it logs the type only. Enhancement open in issues.

  1. Method entry logging

  2. Method exit logging

  3. Normal logging

Both Method entry logging and Method exit logging are only INFO level logging by default

Supports 3 levels of logging - INFO, ERROR, DEBUG. These are mutually exclusive (ie not hierarchial)

Supports 2 modes of logging:

  1. FILE - Writes logs to a file in the logs folder

  2. CONSOLE - Logs to the standard output console

Uploaded to PIP - PIP repo.

Log format - [log_level timestamp] [Module name]-[Method name] <log text>


Hosted on Read The Docs.

Achieved via Sphinx (as the doc build tool), reStructuredText as the markup and hosted on Read The Docs website.



pip install YALogger


Log file looks like source

alt text looks like so

alt text


  1. file

  2. logs folder file needs to have [logger properties] at the root


Logger.initialize_logger(logger_prop_file_path = '.\',log_file_path = './logs') 
Logger.log('info', 'foo','bar','this is the log text')

Look for sample usage code in sample folder

Refer to sample

Ensure logs folder is present


This is an open source tool licensed under GPL v3.0. Copy of the license can be found here.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for YALogger, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size YALogger-1.3-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page