Skip to main content

Tool for changing python print statements into logging module invocations. Automatically adds the appropriate imports.

Project description

use_logging
========================

Tool for changing python print statements into logging module invocations. Automatically adds the appropriate imports.

Implemented by wrapping lib2to3, hence some oddities.

Installation
------------------------

$ pip install use_logging

Example Useage
------------------------

$ use_logging -w my_project/*.py


Links
------------------------
https://docs.python.org/2/library/2to3.html



ToDo
------------------------
1. Any more tests?

1. Publish on pypi.

1. Rest of stuff in https://github.com/vitorbaptista/pyconuk_helloworld (bandit, manifest/+check)


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

use_logging-0.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

use_logging-0.0.1-py2-none-any.whl (9.0 kB view hashes)

Uploaded Python 2

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