{ "info": { "author": "Erik Brozek", "author_email": "erik@brozek.name", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: System :: Logging" ], "description": "[![Codacy Badge](https://api.codacy.com/project/badge/Grade/441b9bb67c0f4956b5d4bcfbe76e00c6)](https://www.codacy.com/manual/erikni/logni.py?utm_source=github.com&utm_medium=referral&utm_content=erikni/logni.py&utm_campaign=Badge_Grade)\n[![Github Releases](https://img.shields.io/github/downloads/atom/atom/latest/total.svg)](https://github.com/erikni/logni.py/releases)\n[![Build Status](https://api.travis-ci.org/erikni/logni.py.svg?branch=develop)](http://travis-ci.org/erikni/logni.py)\n[![Maintainability](https://api.codeclimate.com/v1/badges/27cb403386b704028bb5/maintainability)](https://codeclimate.com/github/erikni/logni.py/maintainability)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENCE)\n\n# logni.py\nlogni is a python library for event logging and application states\n\n## How to install?\n- git (github)\n- pip (python packages -> todo)\n\n\nInstall from Github\n```\n$ git clone https://github.com/erikni/logni.py.git\n$ cd logni.py\n$ pip install -r requirements.txt\n$ python src/logni.py\n```\n\n## Example\n\n```\n$ python\n\n>>> import logni\n>>> log = logni.Logni()\n\n>>> log.mask('ALL')\n>>> log.stderr(1)\n\n$ log.critical('critical message')\n2016/04/01 22:08:18 [15489] F4: critical message [7e995d1a] {logni.py:fatal():161}\n\n$ log.error('error message #%s', time.time(), priority=4)\n2016/04/01 22:08:18 [15489] E4: error message #1459541298.29 [58138001] {logni.py:error():164}\n\n$ log.warn('warning message #%s', time.time(), priority=3)\n2016/04/01 22:08:18 [15489] W3: warning message #1459541298.29 [91b483ab] {logni.py:warn():167}\n\n$ log.info('info message #%s', time.time(), priority=2)\n2016/04/01 22:08:18 [15489] I2: info message #1459541298.29 [eaf58c15] {logni.py:info():170}\n\n$ log.debug('debug message #%s', time.time(), priority=1)\n2016/04/01 22:08:18 [15489] D1: debug message #1459541298.29 [37e911b8] {logni.py:debug():173}\n```\n\n## Test\n\n[test/unit](https://github.com/erikni/logni.py/tree/develop/test/unit)\n\n## Contribution\n\n[Pull Requests](https://github.com/erikni/logni.py/pulls) are very welcome.\n\n# Licence\n\n[GNU General Public License v3.0](LICENSE)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/erik/logni.py/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/erikni/logni.py", "keywords": "logging,logging-library,logger", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "logni", "package_url": "https://pypi.org/project/logni/", "platform": "", "project_url": "https://pypi.org/project/logni/", "project_urls": { "Download": "https://github.com/erik/logni.py/archive/master.zip", "Homepage": "https://github.com/erikni/logni.py" }, "release_url": "https://pypi.org/project/logni/0.1.1/", "requires_dist": null, "requires_python": ">=2.7", "summary": "python library for event logging and application states", "version": "0.1.1" }, "last_serial": 5959628, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "1c308efca6afc8b79d9160dfd7aa36d9", "sha256": "94be346fbc542387b65a30fd938be161480826e3e95bd2cae2a1776773f785b4" }, "downloads": -1, "filename": "logni-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1c308efca6afc8b79d9160dfd7aa36d9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5064, "upload_time": "2019-10-11T10:20:34", "url": "https://files.pythonhosted.org/packages/8b/b1/03c46ada531a1b8f27e27981c672ee3e9cfe5c15b512d2c52c712557e1b5/logni-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1c308efca6afc8b79d9160dfd7aa36d9", "sha256": "94be346fbc542387b65a30fd938be161480826e3e95bd2cae2a1776773f785b4" }, "downloads": -1, "filename": "logni-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1c308efca6afc8b79d9160dfd7aa36d9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5064, "upload_time": "2019-10-11T10:20:34", "url": "https://files.pythonhosted.org/packages/8b/b1/03c46ada531a1b8f27e27981c672ee3e9cfe5c15b512d2c52c712557e1b5/logni-0.1.1.tar.gz" } ] }