{"id":28140764,"url":"https://github.com/unnoted/horizontal","last_synced_at":"2025-05-14T18:14:13.365Z","repository":{"id":57500327,"uuid":"134893626","full_name":"UnnoTed/horizontal","owner":"UnnoTed","description":"pretty logging based on the zerolog.ConsoleWriter","archived":false,"fork":false,"pushed_at":"2022-08-11T20:06:55.000Z","size":7,"stargazers_count":20,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T18:12:19.506Z","etag":null,"topics":["color","json","logging","pretty","pretty-print","zerolog"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/UnnoTed.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":"2018-05-25T18:54:28.000Z","updated_at":"2024-09-09T11:57:51.000Z","dependencies_parsed_at":"2022-09-01T13:40:09.783Z","dependency_job_id":null,"html_url":"https://github.com/UnnoTed/horizontal","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/UnnoTed%2Fhorizontal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnnoTed%2Fhorizontal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnnoTed%2Fhorizontal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnnoTed%2Fhorizontal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnnoTed","download_url":"https://codeload.github.com/UnnoTed/horizontal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198423,"owners_count":22030966,"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","json","logging","pretty","pretty-print","zerolog"],"created_at":"2025-05-14T18:12:19.504Z","updated_at":"2025-05-14T18:14:13.350Z","avatar_url":"https://github.com/UnnoTed.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Horizontal\n\nHorizontal is a pretty logging with focus on readability, based on the `zerolog.ConsoleWriter` but with some added features like json pretty printing and log line separator.\n\n![horizontal](https://i.imgur.com/RvuuYSj.png)\n\n`go get -u github.com/UnnoTed/horizontal`\n\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/UnnoTed/horizontal\"\n\t\"github.com/rs/zerolog/log\"\n)\n\nfunc main() {\n\tlog.Logger = log.Output(horizontal.ConsoleWriter{Out: os.Stderr})\n\tlog.Debug().Msg(\"hi\")\n\tlog.Debug().Msg(\"hello\")\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funnoted%2Fhorizontal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funnoted%2Fhorizontal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funnoted%2Fhorizontal/lists"}