Not your grandmother's logging tool
Project description
outlawg
=======================
Description
-----------
Not your grandmother's logging tool.
Simple logging, designed for non-application output.
No timestamping, no component listing with focus on header customization.
|travis| |pypi|
.. |travis| image:: https://travis-ci.org/rpappalax/outlawg.svg?branch=master
:target: https://travis-ci.org/rpappalax/outlawg
.. |pypi| image:: https://badge.fury.io/py/outlawg.svg
:target: http://badge.fury.io/py/outlawg
Install
-------
.. code:: bash
$ pip install outlawg
or
.. code:: bash
$ git clone https://github.com/rpappalax/outlawg.git
$ cd outlawg
$ python setup.py develop
Example
-----
(example output)[https://github.com/rpappalax/outlawg/blob/master/Examples/output.txt]
example code:
.. code:: bash
from outlawg import Outlawg
out = Outlawg()
out.header('YOUR HEADER')
print('some stuff here')
out.subheader('MY_SUB_HEADER')
print('some stuff here')
out.header('YOUR HEADER', 'XL')
print('some stuff here')
out.header('YOUR HEADER', 'L')
print('some stuff here')
out.header('YOUR HEADER', 'M')
print('some stuff here')
out.header('YOUR HEADER', 'S')
print('some stuff here')
out.header('YOUR HEADER', 'XL', '~')
print('some stuff here')
out.header('YOUR HEADER')
out.subheader('YOUR SUB-HEADER')
print('some stuff here\n\n\n')
out.banner('YOUR BANNER')
print('some stuff here\n\n\n')
=======================
Description
-----------
Not your grandmother's logging tool.
Simple logging, designed for non-application output.
No timestamping, no component listing with focus on header customization.
|travis| |pypi|
.. |travis| image:: https://travis-ci.org/rpappalax/outlawg.svg?branch=master
:target: https://travis-ci.org/rpappalax/outlawg
.. |pypi| image:: https://badge.fury.io/py/outlawg.svg
:target: http://badge.fury.io/py/outlawg
Install
-------
.. code:: bash
$ pip install outlawg
or
.. code:: bash
$ git clone https://github.com/rpappalax/outlawg.git
$ cd outlawg
$ python setup.py develop
Example
-----
(example output)[https://github.com/rpappalax/outlawg/blob/master/Examples/output.txt]
example code:
.. code:: bash
from outlawg import Outlawg
out = Outlawg()
out.header('YOUR HEADER')
print('some stuff here')
out.subheader('MY_SUB_HEADER')
print('some stuff here')
out.header('YOUR HEADER', 'XL')
print('some stuff here')
out.header('YOUR HEADER', 'L')
print('some stuff here')
out.header('YOUR HEADER', 'M')
print('some stuff here')
out.header('YOUR HEADER', 'S')
print('some stuff here')
out.header('YOUR HEADER', 'XL', '~')
print('some stuff here')
out.header('YOUR HEADER')
out.subheader('YOUR SUB-HEADER')
print('some stuff here\n\n\n')
out.banner('YOUR BANNER')
print('some stuff here\n\n\n')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
outlawg-0.0.4.tar.gz
(2.2 kB
view hashes)
Built Distribution
outlawg-0.0.4-py2.7.egg
(3.6 kB
view hashes)