{"id":15705820,"url":"https://github.com/ludeeus/colorlog","last_synced_at":"2025-08-18T15:11:58.001Z","repository":{"id":52428219,"uuid":"234900054","full_name":"ludeeus/colorlog","owner":"ludeeus","description":"A simple component to format log output with colors.","archived":false,"fork":false,"pushed_at":"2021-04-29T15:30:12.000Z","size":102,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T04:42:54.734Z","etag":null,"topics":["color","format","litelement","log","webcomponent"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@ludeeus/colorlog","language":"HTML","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/ludeeus.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":"2020-01-19T12:53:05.000Z","updated_at":"2024-06-11T16:38:16.000Z","dependencies_parsed_at":"2022-08-29T04:11:29.808Z","dependency_job_id":null,"html_url":"https://github.com/ludeeus/colorlog","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludeeus%2Fcolorlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludeeus%2Fcolorlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludeeus%2Fcolorlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludeeus%2Fcolorlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ludeeus","download_url":"https://codeload.github.com/ludeeus/colorlog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246342765,"owners_count":20761939,"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":["color","format","litelement","log","webcomponent"],"created_at":"2024-10-03T20:20:25.486Z","updated_at":"2025-03-30T15:45:10.277Z","avatar_url":"https://github.com/ludeeus.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Colorlog\n\n[![npm](https://img.shields.io/npm/v/@ludeeus/colorlog?style=for-the-badge)](https://www.npmjs.com/package/@ludeeus/colorlog)\n[![npm](https://img.shields.io/badge/demo-live-green?style=for-the-badge)](https://rawcdn.githack.com/ludeeus/colorlog/master/example.html)\n[![npm](https://img.shields.io/badge/example-file-blue?style=for-the-badge)](https://github.com/ludeeus/colorlog/blob/master/example.ts)\n\n![example](https://raw.githubusercontent.com/ludeeus/colorlog/master/example.png)\n\nA simple component to format log output with colors.\n\nCurrently only output from pythons `logging` package is supported.\n\n## Example usage\n\nSee [the demo](https://rawcdn.githack.com/ludeeus/colorlog/master/example.html) for examples on how it can look.\n\nSee [example.ts](https://github.com/ludeeus/colorlog/blob/master/example.ts) for examples on how you can use it.\n\n```typescript\nimport \"@ludeeus/colorlog\";\n```\n\n## How it works\n\nThe component has one property (`log`), here you can feed it a text representation of your output.\nIt will split the input on newline, and scan each line for a know indicator on what type of log line it is.\n\n## CSS vars\n\n| CCS Var                  | Default     |\n| ------------------------ | ----------- |\n| `--colorlog-font-family` | `monospace` |\n| `--colorlog-text`        | `#000000`   |\n| `--colorlog-debug`       | `#00b2fd`   |\n| `--colorlog-info`        | `#00ab00`   |\n| `--colorlog-warning`     | `#ffc303`   |\n| `--colorlog-error`       | `#f00000`   |\n| `--colorlog-critical`    | `#d00000`   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fludeeus%2Fcolorlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fludeeus%2Fcolorlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fludeeus%2Fcolorlog/lists"}