Metadata-Version: 2.3
Name: arklog
Version: 0.7.0
Summary: Custom python logging formatter with color output.
Keywords: logging
Author: Arkadiusz Michał Ryś
Author-email: Arkadiusz Michał Ryś <Arkadiusz.Michal.Rys@gmail.com>
License: MIT License
         
         Copyright (c) Arkadiusz Michał Ryś
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         SOFTWARE.
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Requires-Dist: toml>=0.10.2
Requires-Dist: pyyaml>=6.0
Requires-Dist: ruff ; extra == 'dev'
Requires-Dist: invoke ; extra == 'dev'
Requires-Dist: vermin ; extra == 'dev'
Requires-Dist: sphinx ; extra == 'doc'
Requires-Dist: sphinx-rtd-theme ; extra == 'doc'
Requires-Dist: sphinx-tabs ; extra == 'doc'
Requires-Dist: sphinx-toolbox ; extra == 'doc'
Requires-Dist: sphinxext-opengraph ; extra == 'doc'
Requires-Dist: sphinx-notfound-page ; extra == 'doc'
Requires-Dist: sphinxcontrib-drawio ; extra == 'doc'
Requires-Dist: readthedocs-sphinx-search ; extra == 'doc'
Requires-Dist: myst-parser ; extra == 'doc'
Requires-Dist: pytest ; extra == 'test'
Requires-Python: >=3.12
Project-URL: source, https://git.rys.one/arrys/arklog
Provides-Extra: dev
Provides-Extra: doc
Provides-Extra: test
Description-Content-Type: text/x-rst

======
arklog
======

.. image:: https://img.shields.io/pypi/v/arklog.svg
   :target: https://pypi.python.org/pypi/arklog

A python logging module with colors.

Examples
--------

.. code-block:: python3

    from arklog import ColorLogger

    logger = ColorLogger(__name__, 1)
    logger.debug("debug message")
    logger.info("info message")
    logger.warning("warning message")
    logger.error("error message")
    logger.critical("critical message")
    logger.success("success message")
    logger.extra("extra message")
    logger.exception("exception message")

.. code-block:: python3

    import arklog

    arklog.debug("debug message")
    arklog.info("info message")
    arklog.warning("warning message")
    arklog.error("error message")
    arklog.critical("critical message")
    arklog.success("success message")
    arklog.extra("extra message")
    arklog.exception("exception message")



Changelog
=========

0.7.0 (2025-06-21)
------------------
* Add convenience methods.

0.6.0 (2025-06-20)
------------------
* Create custom logger class instead of monkey patching.

0.5.3 (2024-12-02)
------------------
* Fix readme path for correct deployment.

0.5.2 (2024-12-02)
------------------
* Add convenience method ``set_logging``.

0.5.1 (2023-03-03)
------------------
* Fix missing import.
* Update requirements.

0.5.0 (2022-09-07)
------------------
* Add two logging methods.

0.4.1 (2020-06-22)
------------------
* Check if dev file exists.

0.4.1 (2020-06-15)
------------------
* Revert mistake removing color from console.

0.4.0 (2020-06-13)
------------------
* Add exception method.

0.3.0 (2020-06-13)
------------------
* Fix requirements generation.

0.2.0 (2020-06-03)
------------------
* Add extra method.
* Add success method.

0.1.0 (2020-06-03)
------------------
* Allow direct access to functions.

0.0.1 (2020-06-03)
------------------
* First release on PyPI.
