Skip to main content

atria debug is a simple tool to log the data in color, with a level management

Project description

Atria Debug

atria debug is a simple python librairy that permit to display application logs on console with a atria level.

![Badge](https://badge.fury.io/py/realog.png

Instructions

Simply include the log system:

  from realog import debug

Configure the level:

## Set log level of the console log system
## parameter: Value of the log level:
##              0: None
##              1: error
##              2: warning
##              3: info
##              4: debug
##              5: verbose
##              6: extreme_verbose
debug.set_level(6)

Enable the color:

enable_color()
disable_color()

Use it:

debug.error("lkjlkjlkj" + "kljhlkj" + str(1513))
debug.warning("lkjlkjlkj" + "kljhlkj" + str(1513))
debug.ingo("lkjlkjlkj" + "kljhlkj" + str(1513))
debug.debug("lkjlkjlkj" + "kljhlkj" + str(1513))
debug.verbose("lkjlkjlkj" + "kljhlkj" + str(1513))
debug.extreme_verbose("lkjlkjlkj" + "kljhlkj" + str(1513))

git repository

http://github.com/HeeroYui/realog/

Documentation

http://HeeroYui.github.io/realog/

Installation

Requirements: Python >= 2.7 and pip

Just run:

pip install realog

Install pip on debian/ubuntu:

sudo apt-get install pip

Install pip on ARCH-linux:

sudo pacman -S pip

Install pip on MacOs:

sudo easy_install pip

License (MPL v2.0)

Copyright realog Edouard DUPIN

Licensed under the Mozilla Public License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.mozilla.org/MPL/2.0/

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

realog-1.2.2.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file realog-1.2.2.tar.gz.

File metadata

  • Download URL: realog-1.2.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for realog-1.2.2.tar.gz
Algorithm Hash digest
SHA256 04a8a10e325a5d466576f661761b2e31d0add4c64bbc3e9db2577f241832f8b7
MD5 364ac99f2b825e70da3ccd2974ec7bfd
BLAKE2b-256 c5838476944fb4f2410ac7ec3c7c05b059d1db74f7876565a6a4e6d477676fe0

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