Skip to main content

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.

[![Build Status](https://travis-ci.org/rpappalax/outlawg.svg?branch=dev)](https://travis-ci.org/rpappalax/outlawg) [![Build Status](https://badge.fury.io/py/outlawg.svg)](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


Download files

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

Files for outlawg, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size outlawg-0.1.0-py3.4.egg (3.8 kB) File type Egg Python version 3.4 Upload date Hashes View
Filename, size outlawg-0.1.0.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page