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.
[](https://travis-ci.org/rpappalax/outlawg) [](https://badge.fury.io/py/outlawg)
Install
-------
```bash
$ pip install outlawg
```
or
```bash
$ git clone https://github.com/rpappalax/outlawg.git
$ cd outlawg
$ python setup.py develop
```
Example
-----
[https://github.com/rpappalax/outlawg/blob/master/Examples/output.txt](Example output)
example code:
```python
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.
[](https://travis-ci.org/rpappalax/outlawg) [](https://badge.fury.io/py/outlawg)
Install
-------
```bash
$ pip install outlawg
```
or
```bash
$ git clone https://github.com/rpappalax/outlawg.git
$ cd outlawg
$ python setup.py develop
```
Example
-----
[https://github.com/rpappalax/outlawg/blob/master/Examples/output.txt](Example output)
example code:
```python
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.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
outlawg-0.1.0-py3.4.egg
(3.8 kB
view details)
File details
Details for the file outlawg-0.1.0.tar.gz.
File metadata
- Download URL: outlawg-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a08681381a549c6c8202e98b89c04a1f1e64179fcd05352727e0f86b8921b54
|
|
| MD5 |
6b30f5f03640a054879971cfdd9c68b6
|
|
| BLAKE2b-256 |
684fe4afe90cb20f0575017d21486c9295035e45d8e435554a2355b2b95b1d64
|
File details
Details for the file outlawg-0.1.0-py3.4.egg.
File metadata
- Download URL: outlawg-0.1.0-py3.4.egg
- Upload date:
- Size: 3.8 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59fd94ee192052ac2e7f7a620bc4153e315834efe4d66ef9e9cc1775ad21f2c1
|
|
| MD5 |
e984f8313ed8ba1da9dab05bcf0d63cc
|
|
| BLAKE2b-256 |
bd36fdfb669e936a284af8208285fc32bf95c6b319996d9ce679d0887d7c443a
|