Skip to main content

dummylog is the open source python package to help the python module/plugin developers to create/update the log files in simple syntax and easy format

Project description



dummylog is the open source python package to help the python module/plugin developers to create/update the log files in simple syntax and easy format. If you are looking for a single file based log, then dummylog is for you to keep your simple logs

If you are using Flask API or any API decorators with dummylog, it will create a new log every time since decorators will trigger the function as every new instance.

Installation

Install using pip . Offical Python Package Here!!

pip install dummylog

(OR)

Clone this Repository. Run this from the root directory to install

python setup.py install

Documentation

Read the detailed documentation in readthedocs.io

License

The license for dummylog is MIT license

Need help?

Stuck on your dummylog code or problem? Any other questions? Don't hestitate to send me an email (selva221724@gmail.com).

Usage

1. Import Package

import dummylog

2. Initialize the dummylog Object

dl = dummylog.DummyLog()

3. Enjoy Logging

dl.logger.info('Log File is Created Successfully')

dl.logger.info('Unmayanaa Google Competitors')

dl.logger.error('Vada poche')

This will create a log file in the root directory of the python script.

4. To Kill the dummylog instance

dl.kill()

Note: Do not use dummylog in case if you are using the logging module in the same script for other purposes. it will conflict with the logging thread and append things to gather.

Future Work

  • dummylog will be enabled for multithreading
  • enhance logging capability

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

dummylog-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

dummylog-0.0.2-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page