{"id":31658471,"url":"https://github.com/couchbase/logg","last_synced_at":"2025-10-07T15:23:45.507Z","repository":{"id":66135656,"uuid":"12834691","full_name":"couchbase/logg","owner":"couchbase","description":"A lightweight logging utility for Go.","archived":false,"fork":false,"pushed_at":"2013-09-14T19:57:36.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":31,"default_branch":"master","last_synced_at":"2023-04-12T20:28:10.579Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/couchbase.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":"2013-09-14T19:26:00.000Z","updated_at":"2020-02-21T21:31:22.000Z","dependencies_parsed_at":"2023-02-19T23:00:53.091Z","dependency_job_id":null,"html_url":"https://github.com/couchbase/logg","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/couchbase/logg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Flogg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Flogg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Flogg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Flogg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/couchbase","download_url":"https://codeload.github.com/couchbase/logg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Flogg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278796651,"owners_count":26047480,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-07T15:23:41.824Z","updated_at":"2025-10-07T15:23:45.496Z","avatar_url":"https://github.com/couchbase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"A lightweight logging utility for Go.\n\n![screnshot](http://cl.ly/image/2l0Q1M123D1c/Screen%20Shot%202013-09-14%20at%2012.28.07%20PM.png)\n\n# Features\n\n* Terminal color coded logs\n* Simple log levels (LOG_LEVEL_NORMAL, LOG_LEVEL_WARNINGS, LOG_LEVEL_PANICS)\n* Keyword based log partitioning.  Eg, define a \"REST\" keyword for all REST related logs, with easy ability to hide/show these logs.\n* Log Timestamp which includes microseconds\n\n# Quick Start\n\nImport:\n\n```\nimport \"github.com/couchbase/logg\"\n```\n\nLog something:\n\n```\nlogg.Log(\"hello\")\n```\n\nSetup keyword based log partitioning:\n\n```\nlogg.LogKeys[\"foo\"] = true\n```\n\nLog something to the \"foo\" channel:\n\n```\nlogg.LogTo(\"foo\", \"hello foo\")\n```\n\nIncrease log level to only include panics:\n\n```\nlogg.LogLevel = logg.LOG_LEVEL_PANICS\n```\n\n# API docs\n\nThe [API Docs](http://godoc.org/github.com/couchbase/logg) are available on godoc.org.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Flogg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcouchbase%2Flogg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Flogg/lists"}