logstyle


Namelogstyle JSON
Version 1.0.3 PyPI version JSON
download
home_page
SummaryLogstyle is simply lightweight, colorful and customizable logging library
upload_time2023-10-16 22:02:39
maintainer
docs_urlNone
authorToghrul Mirzayev
requires_python>=3.7
license
keywords log logging logs logger python-log
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # logstyle

# Getting started

Logstyle was developed for simplified usage like in below examples:

* Create your own CustomLog instance
```
custom_logger = CustomLog("MyLogger")
```
* Now you can try it using different  styles and colors like below:
  * Box style logs:
  ```
  custom_logger.box_log("This is a box log example.", CustomLog.COLOR_GREEN)
  ```
  * Title style logs:
  ```
  custom_logger.title_log("Title Log", "This is a title log example.", CustomLog.COLOR_BLUE)
  ```
  * JSON style logs:
  ```
   custom_logger.json_log("JSON Log", "This is a JSON log example.", {"key": "value"}, CustomLog.COLOR_AMBER)
  ```
  * YAML style logs:
  ```
  custom_logger.yaml_log("YAML Log", "This is a YAML log example.", {"key": "value"}, CustomLog.COLOR_RED)
  ```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "logstyle",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "log,logging,logs,logger,python-log",
    "author": "Toghrul Mirzayev",
    "author_email": "togrul.mirzoev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/99/bc/c2bbf59effd4200bbdb243c9cfda5e5ec5a97e0ba1f64bf1109b2c0871d6/logstyle-1.0.3.tar.gz",
    "platform": null,
    "description": "# logstyle\n\n# Getting started\n\nLogstyle was developed for simplified usage like in below examples:\n\n* Create your own CustomLog instance\n```\ncustom_logger = CustomLog(\"MyLogger\")\n```\n* Now you can try it using different  styles and colors like below:\n  * Box style logs:\n  ```\n  custom_logger.box_log(\"This is a box log example.\", CustomLog.COLOR_GREEN)\n  ```\n  * Title style logs:\n  ```\n  custom_logger.title_log(\"Title Log\", \"This is a title log example.\", CustomLog.COLOR_BLUE)\n  ```\n  * JSON style logs:\n  ```\n   custom_logger.json_log(\"JSON Log\", \"This is a JSON log example.\", {\"key\": \"value\"}, CustomLog.COLOR_AMBER)\n  ```\n  * YAML style logs:\n  ```\n  custom_logger.yaml_log(\"YAML Log\", \"This is a YAML log example.\", {\"key\": \"value\"}, CustomLog.COLOR_RED)\n  ```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Logstyle is simply lightweight, colorful and customizable logging library",
    "version": "1.0.3",
    "project_urls": null,
    "split_keywords": [
        "log",
        "logging",
        "logs",
        "logger",
        "python-log"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f8bbc3c5397c9200370dbb38d02f42beca30134aa36cf573093262eb007f2f7",
                "md5": "a113436c61daeb6bbd9a8e075e196a94",
                "sha256": "94b1d9129b8d2ce79bbd4952aeaf0ddf5c476b8d634a4c63c29152c3898e8640"
            },
            "downloads": -1,
            "filename": "logstyle-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a113436c61daeb6bbd9a8e075e196a94",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 3412,
            "upload_time": "2023-10-16T22:02:38",
            "upload_time_iso_8601": "2023-10-16T22:02:38.459855Z",
            "url": "https://files.pythonhosted.org/packages/7f/8b/bc3c5397c9200370dbb38d02f42beca30134aa36cf573093262eb007f2f7/logstyle-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99bcc2bbf59effd4200bbdb243c9cfda5e5ec5a97e0ba1f64bf1109b2c0871d6",
                "md5": "01a08e2fce4df1b633c94c923b860d49",
                "sha256": "703ccb3244a4a1a44641ed0e189e2d1c8c991c8b6f3513a96cf5d22b6fda1509"
            },
            "downloads": -1,
            "filename": "logstyle-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "01a08e2fce4df1b633c94c923b860d49",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3222,
            "upload_time": "2023-10-16T22:02:39",
            "upload_time_iso_8601": "2023-10-16T22:02:39.998022Z",
            "url": "https://files.pythonhosted.org/packages/99/bc/c2bbf59effd4200bbdb243c9cfda5e5ec5a97e0ba1f64bf1109b2c0871d6/logstyle-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-16 22:02:39",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "logstyle"
}
        
Elapsed time: 0.14211s