{"id":37156921,"url":"https://github.com/landonia/golog","last_synced_at":"2026-01-14T18:38:44.645Z","repository":{"id":57603531,"uuid":"76569816","full_name":"landonia/golog","owner":"landonia","description":"A simple log that will print using colours to a specific stream","archived":false,"fork":false,"pushed_at":"2018-01-05T19:29:09.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T07:56:57.014Z","etag":null,"topics":["colours","go","golang","golog","logging","logging-library"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/landonia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-15T15:05:49.000Z","updated_at":"2017-11-11T21:28:24.000Z","dependencies_parsed_at":"2022-09-26T20:01:48.816Z","dependency_job_id":null,"html_url":"https://github.com/landonia/golog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/landonia/golog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonia%2Fgolog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonia%2Fgolog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonia%2Fgolog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonia%2Fgolog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/landonia","download_url":"https://codeload.github.com/landonia/golog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonia%2Fgolog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28430875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["colours","go","golang","golog","logging","logging-library"],"created_at":"2026-01-14T18:38:43.806Z","updated_at":"2026-01-14T18:38:44.640Z","avatar_url":"https://github.com/landonia.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golog\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/landonia/golog)](https://goreportcard.com/report/github.com/landonia/golog)\n[![GoDoc](https://godoc.org/github.com/landonia/golog?status.svg)](https://godoc.org/github.com/landonia/golog)\n\nA wrapper for the go log providing namespaces and standard levels\n\n## Overview\n\nThe standard go log package provides the core writing methods but does\nnot provide any colouring or level functions. This simply provides those features.\nYou can overwrite the standard log on the package level if you require any\ndifferent settings.\n\n## Installation\n\nWith a healthy Go Language installed, simply run `go get github.com/landonia/golog`\n\n## Example\n```go\n  \tpackage main\n\n\timport (\n\t\t\"flag\"\n\t\t\"github.com/landonia/golog/prettylog\"\n\t)\n\n\tfunc main() {\n\t\tlog, err := prettylog.New(prettylog.WithNameSpace(\"mynamespace\"))\n    \t\tif err != nil {\n      \t\t\tpanic(err)\n    \t\t}\n\n\t\t// Setup application.....\n\t\tlog.Info(\"Application has started successfully..\")\n\n\t\t// .. something goes wrong\n\t\tlog.Error(\"Whoops\")\n\t}\n```\n\n## Out of Box Example\n\nsimply run `go run $GOPATH/src/github.com/landonia/golog/cmd/example.go`\n\nYou should see output to the following:\n\n![Example output](cmd/example.png?raw=true)\n\n## About\n\ngolog was written by [Landon Wainwright](http://www.landotube.com) | [GitHub](https://github.com/landonia).\n\nFollow me on [Twitter @landotube](http://www.twitter.com/landotube)! Although I don't really tweet much tbh.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandonia%2Fgolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flandonia%2Fgolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandonia%2Fgolog/lists"}