{"id":28365455,"url":"https://github.com/selva221724/dummylog","last_synced_at":"2026-05-05T22:39:24.064Z","repository":{"id":45966654,"uuid":"430684865","full_name":"selva221724/dummylog","owner":"selva221724","description":"logging made easy for python module/plugin developers","archived":false,"fork":false,"pushed_at":"2022-01-24T10:11:24.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T01:17:48.380Z","etag":null,"topics":["django","flask","log","logging","pip","python","thread"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/selva221724.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-22T11:46:52.000Z","updated_at":"2024-02-07T21:48:06.000Z","dependencies_parsed_at":"2022-08-24T01:41:24.215Z","dependency_job_id":null,"html_url":"https://github.com/selva221724/dummylog","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"readthedocs/tutorial-template","purl":"pkg:github/selva221724/dummylog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selva221724%2Fdummylog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selva221724%2Fdummylog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selva221724%2Fdummylog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selva221724%2Fdummylog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selva221724","download_url":"https://codeload.github.com/selva221724/dummylog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selva221724%2Fdummylog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260598760,"owners_count":23034380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","flask","log","logging","pip","python","thread"],"created_at":"2025-05-28T22:08:42.819Z","updated_at":"2026-05-05T22:39:24.059Z","avatar_url":"https://github.com/selva221724.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/selva221724/dummylog/main/readme_src/dummyloglogo.png\"  width=\"70%\" height=\"70%\"\u003e\n  \u003cbr\u003e\u003cbr\u003e\n\u003c/p\u003e\n\n[\u003cimg src=\"https://img.shields.io/pypi/v/dummylog\"\u003e](https://pypi.org/project/dummylog/)\n[\u003cimg src=\"https://img.shields.io/static/v1?label=license\u0026message=MIT\u0026color=green\"\u003e](https://opensource.org/licenses/MIT)\n\u003cimg src=\"https://img.shields.io/pypi/wheel/dummylog\"\u003e\n\u003cimg src = \"https://img.shields.io/pypi/pyversions/dummylog\"\u003e\n\u003cimg src = \"https://img.shields.io/github/commit-activity/w/selva221724/dummylog\"\u003e\n\u003cimg src = \"https://img.shields.io/github/languages/code-size/selva221724/dummylog\"\u003e\n\n`dummylog` is the open source python package to help the python module/plugin developers to create/update the log files in simple syntax and easy format. If you are looking for a single file based log, then dummylog is for you to keep your simple logs\n\nIf you are using `Flask API` or any API decorators with `dummylog`, it will create a new log every time since decorators will trigger the function as every new instance. \n\n\n## Installation\n\n**Install using pip** . [Offical Python Package Here!!](https://pypi.org/project/dummylog/)\n```shell\npip install dummylog\n```\n\n(OR)\n\nClone this Repository. Run this from the root directory to install\n\n```shell\npython setup.py install\n```\n\n## License\nThe license for dummylog is MIT license \n\n## Need help?\nStuck on your dummylog code or problem? Any other questions? Don't\nhestitate to send me an email (selva221724@gmail.com).\n\n## Usage\n\n### 1. Import Package\n```python\nimport dummylog\n```\n\n### 2. Initialize the dummylog Object\n```python\ndl = dummylog.DummyLog()\n\n```\n#### `dummylog.DummyLog()` parameters\n|S.No |Parameters    | Description | Type | Default Value |\n| -------------| ------------- | ------------- | ------------- | ------------- |\n|1 | log_name  | Name of the log instance/file  | string  |  \"temp\"  |\n|2 | logging_level  | [level of logging that user needed](https://docs.python.org/3/library/logging.html#levels)  | string  | \"debug\"  |\n|3 | string_format  | [Formatter for logging](https://docs.python.org/3/library/logging.html#formatter-objects) | string  | \"%(asctime)s: %(levelname)s: %(message)s\" |\n|3 | datetime_format  | Date-time format for logging | string  | \"%m/%d/%Y %I:%M:%S %p\" |\n|4 | log_on_folder  | True if you want to save them in a folder  | bool   | True |\n|5 | log_folder_name  | Name of the folder to save the logs | string   | \"logs\" |\n\n### 3. Enjoy Logging\n```python\ndl.logger.info('Log File is Created Successfully')\n\ndl.logger.info('Unmayanaa Google Competitors')\n\ndl.logger.error('Vada poche')\n```\n\nThis will create a log file in the root directory of the python script.\n\n### 4. To Kill the dummylog instance\n```python\ndl.kill()\n```\n**Note:** Do not use `dummylog` in case if you are using the logging module in the same script for other purposes. it may conflict with the logging thread and append things to gather.\n\n### 5. To Create Multiple Logs\n```python\ndl_1 = dummylog.DummyLog(log_name = 'one')\ndl_1.logger.info('Log File is Created Successfully')\ndl_1.logger.info('Unmayanaa Google Competitors')\ndl_1.logger.error('Vada poche')\n\ndl_2 = dummylog.DummyLog(log_name = 'two')\ndl_2.logger.info('Log File is Created Successfully')\ndl_2.logger.info('Unmayanaa Google Competitors')\ndl_2.logger.error('Vada poche')\n\n```\nIt will create two `.log` files:\n\n```\nlogs\n├── one.log\n└── two.log\n```\n\n### Sample Log File View\n\u003cimg src=\"https://raw.githubusercontent.com/selva221724/dummylog/main/readme_src/dummylog.png\"  width=\"100%\" height=\"100%\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselva221724%2Fdummylog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselva221724%2Fdummylog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselva221724%2Fdummylog/lists"}