{"id":19669927,"url":"https://github.com/dohlee/python-cleanlog","last_synced_at":"2025-02-27T04:42:22.045Z","repository":{"id":62562533,"uuid":"142240468","full_name":"dohlee/python-cleanlog","owner":"dohlee","description":":package: Python package for nice colored logs.","archived":false,"fork":false,"pushed_at":"2021-06-17T05:34:14.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-02-11T23:43:11.219Z","etag":null,"topics":["logging","logging-library","python","python-library","utility"],"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/dohlee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-25T03:06:06.000Z","updated_at":"2021-06-17T05:34:17.000Z","dependencies_parsed_at":"2022-11-03T15:30:54.135Z","dependency_job_id":null,"html_url":"https://github.com/dohlee/python-cleanlog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohlee%2Fpython-cleanlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohlee%2Fpython-cleanlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohlee%2Fpython-cleanlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohlee%2Fpython-cleanlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dohlee","download_url":"https://codeload.github.com/dohlee/python-cleanlog/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240980773,"owners_count":19888335,"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":["logging","logging-library","python","python-library","utility"],"created_at":"2024-11-11T17:03:13.311Z","updated_at":"2025-02-27T04:42:22.026Z","avatar_url":"https://github.com/dohlee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cleanlog\r\n\r\nPython package for nice colored logs.\r\n\r\n## Installation\r\n\r\n```shell\r\npip install cleanlog\r\n```\r\n\r\n## At a glance\r\n\r\n```python\r\n# log.py\r\nimport cleanlog\r\n\r\nlogger = cleanlog.ColoredLogger('mylogger')\r\n# Note that since cleanlog just wraps built-in logging module,\r\n# this is equivalent to logger.setLevel(logging.DEBUG).\r\nlogger.setLevel(cleanlog.DEBUG)\r\n\r\nlogger.critical('A critical message.')\r\nlogger.error('An error message.')\r\nlogger.warning('A warning message.')\r\nlogger.info('An info message.')\r\nlogger.debug('A debug message.')\r\n```\r\n\r\n![log.py](https://cdn.rawgit.com/dohlee/python-cleanlog/develop/img/glance.svg)\r\n\r\n### TODO\r\n\r\n- [x] Implement cleanlog.BasicLogger.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohlee%2Fpython-cleanlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdohlee%2Fpython-cleanlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohlee%2Fpython-cleanlog/lists"}