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.

Source Distribution

outlawg-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

outlawg-0.1.0-py3.4.egg (3.8 kB view details)

Uploaded Source

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

Hashes for outlawg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a08681381a549c6c8202e98b89c04a1f1e64179fcd05352727e0f86b8921b54
MD5 6b30f5f03640a054879971cfdd9c68b6
BLAKE2b-256 684fe4afe90cb20f0575017d21486c9295035e45d8e435554a2355b2b95b1d64

See more details on using hashes here.

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: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for outlawg-0.1.0-py3.4.egg
Algorithm Hash digest
SHA256 59fd94ee192052ac2e7f7a620bc4153e315834efe4d66ef9e9cc1775ad21f2c1
MD5 e984f8313ed8ba1da9dab05bcf0d63cc
BLAKE2b-256 bd36fdfb669e936a284af8208285fc32bf95c6b319996d9ce679d0887d7c443a

See more details on using hashes here.

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