logging-color-formatter


Namelogging-color-formatter JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/leplatrem/logging-color-formatter
SummaryA colored logging formatter
upload_time2022-06-14 13:58:12
maintainer
docs_urlNone
authorMathieu Leplatre
requires_python
licenseApache License (2.0)
keywords logging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            logging-color-formatter
=======================

.. image:: https://img.shields.io/pypi/v/logging-color-formatter.svg
    :target: https://pypi.python.org/pypi/logging-color-formatter
    :alt: Latest PyPI version

.. image:: https://travis-ci.org/leplatrem/logging-color-formatter.png
   :target: https://travis-ci.org/leplatrem/logging-color-formatter
   :alt: Latest Travis CI build status

A colored logging formatter.

Installation
------------

::

    pip install logging-color-formatter


Usage
-----

.. code-block:: ini

    [loggers]
    keys = root

    [handlers]
    keys = console

    [formatters]
    keys = generic

    [logger_root]
    level = DEBUG
    handlers = console

    [handler_console]
    class = StreamHandler
    args = (sys.stdout,)
    level = NOTSET
    formatter = generic

    [formatters]
    keys = color

    [formatter_color]
    class = logging_color_formatter.ColorFormatter


Changes
-------

1.0.3
'''''

- Publish wheels

1.0.2
'''''

- Fix missing output of stacktraces on exceptions

1.0.1
'''''

- Fix missing interpolation on strings using logger arguments


Run tests
---------

::

    python setup.py test


Licence
-------

* Apache License v2



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/leplatrem/logging-color-formatter",
    "name": "logging-color-formatter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "logging",
    "author": "Mathieu Leplatre",
    "author_email": "mathieu@leplat.re",
    "download_url": "https://files.pythonhosted.org/packages/7e/4e/fc0f8f4d689f824337bf7364915aa7dd27b93a97acef7c2d123869eb78cf/logging-color-formatter-1.0.3.tar.gz",
    "platform": null,
    "description": "logging-color-formatter\n=======================\n\n.. image:: https://img.shields.io/pypi/v/logging-color-formatter.svg\n    :target: https://pypi.python.org/pypi/logging-color-formatter\n    :alt: Latest PyPI version\n\n.. image:: https://travis-ci.org/leplatrem/logging-color-formatter.png\n   :target: https://travis-ci.org/leplatrem/logging-color-formatter\n   :alt: Latest Travis CI build status\n\nA colored logging formatter.\n\nInstallation\n------------\n\n::\n\n    pip install logging-color-formatter\n\n\nUsage\n-----\n\n.. code-block:: ini\n\n    [loggers]\n    keys = root\n\n    [handlers]\n    keys = console\n\n    [formatters]\n    keys = generic\n\n    [logger_root]\n    level = DEBUG\n    handlers = console\n\n    [handler_console]\n    class = StreamHandler\n    args = (sys.stdout,)\n    level = NOTSET\n    formatter = generic\n\n    [formatters]\n    keys = color\n\n    [formatter_color]\n    class = logging_color_formatter.ColorFormatter\n\n\nChanges\n-------\n\n1.0.3\n'''''\n\n- Publish wheels\n\n1.0.2\n'''''\n\n- Fix missing output of stacktraces on exceptions\n\n1.0.1\n'''''\n\n- Fix missing interpolation on strings using logger arguments\n\n\nRun tests\n---------\n\n::\n\n    python setup.py test\n\n\nLicence\n-------\n\n* Apache License v2\n\n\n",
    "bugtrack_url": null,
    "license": "Apache License (2.0)",
    "summary": "A colored logging formatter",
    "version": "1.0.3",
    "project_urls": {
        "Homepage": "https://github.com/leplatrem/logging-color-formatter"
    },
    "split_keywords": [
        "logging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aa0d309c071cc5d25f401d50c6438c827512050c350ad9992ccac43d9b8bebf1",
                "md5": "e159bc69cc482b1a243e4f0a11d8ae2c",
                "sha256": "ecee191e6414f6133ae8b3d5cf1598612210b3fe5eeb901a7b1aa70d9751be47"
            },
            "downloads": -1,
            "filename": "logging_color_formatter-1.0.3-cp3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e159bc69cc482b1a243e4f0a11d8ae2c",
            "packagetype": "bdist_wheel",
            "python_version": "cp3",
            "requires_python": null,
            "size": 5047,
            "upload_time": "2022-06-14T13:58:09",
            "upload_time_iso_8601": "2022-06-14T13:58:09.359871Z",
            "url": "https://files.pythonhosted.org/packages/aa/0d/309c071cc5d25f401d50c6438c827512050c350ad9992ccac43d9b8bebf1/logging_color_formatter-1.0.3-cp3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e4efc0f8f4d689f824337bf7364915aa7dd27b93a97acef7c2d123869eb78cf",
                "md5": "297b3b80fe78f6c0a1e1fecc0e53e9b9",
                "sha256": "495920c386d48cad9e9463a10f51b4deb95cab3b0185d02a36af67d66ae93787"
            },
            "downloads": -1,
            "filename": "logging-color-formatter-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "297b3b80fe78f6c0a1e1fecc0e53e9b9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4215,
            "upload_time": "2022-06-14T13:58:12",
            "upload_time_iso_8601": "2022-06-14T13:58:12.036364Z",
            "url": "https://files.pythonhosted.org/packages/7e/4e/fc0f8f4d689f824337bf7364915aa7dd27b93a97acef7c2d123869eb78cf/logging-color-formatter-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-06-14 13:58:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "leplatrem",
    "github_project": "logging-color-formatter",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "logging-color-formatter"
}
        
Elapsed time: 0.38228s