{"id":26453003,"url":"https://github.com/kuloud/klog","last_synced_at":"2025-10-12T19:16:24.616Z","repository":{"id":130648280,"uuid":"45738831","full_name":"kuloud/klog","owner":"kuloud","description":"Golang lightweight log component, support level control, file log...","archived":false,"fork":false,"pushed_at":"2015-12-09T14:50:07.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T19:16:24.198Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kuloud.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":"2015-11-07T14:05:44.000Z","updated_at":"2019-04-28T05:21:32.000Z","dependencies_parsed_at":"2023-03-14T17:15:50.751Z","dependency_job_id":null,"html_url":"https://github.com/kuloud/klog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kuloud/klog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fklog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fklog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fklog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fklog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuloud","download_url":"https://codeload.github.com/kuloud/klog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuloud%2Fklog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012645,"owners_count":26085158,"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-12T02:00:06.719Z","response_time":53,"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-03-18T18:41:30.713Z","updated_at":"2025-10-12T19:16:24.583Z","avatar_url":"https://github.com/kuloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\nGolang lightweight log component, support level control, file log...\n\nGetting Started\n---------------\n\n```go\npackage main\n\nimport (\n\tlog \"github.com/kuloud/klog\"\n)\n\nfunc main() {\n\tlog.V(\"vTag\", \"hello\", \"kuloud\")\n\tlog.Vf(\"vfTag\", \"%s, just like %s said.\", \"hello\", \"kuloud\")\n\tlog.D(\"dTag\", \"hello\", \"kuloud\")\n\tlog.Df(\"dfTag\", \"%s, just like %s said. %d\", \"hello\", \"kuloud\", 1)\n\tlog.I(\"iTag\", \"hello\", \"kuloud\")\n\tlog.If(\"ifTag\", \"%s, just like %s said. %t\", \"hello\", \"kuloud\", true)\n\tlog.W(\"wTag\", \"hello\", \"kuloud\")\n\tlog.Wf(\"wfTag\", \"%s, just like %s said. %s\", \"hello\", \"kuloud\", \"Debug\")\n\tlog.E(\"eTag\", \"hello\", \"kuloud\")\n\tlog.Ef(\"efTag\", \"%s, just like you said.\")\n}\n\n```\nCustom the config in config.go\n\nrun the example:\n```\ngo run example.go\n```\n\nYou will get like this\n```\n2015/11/07 23:35:07 [D]:[dTag] hello kuloud\n2015/11/07 23:35:07 [D]:[dfTag] hello, just like kuloud said. 1\n2015/11/07 23:35:07 [I]:[iTag] hello kuloud\n2015/11/07 23:35:07 [I]:[ifTag] hello, just like kuloud said. true\n2015/11/07 23:35:07 [W]:[wTag] hello kuloud\n2015/11/07 23:35:07 [W]:[wfTag] hello, just like kuloud said. Debug\n2015/11/07 23:35:07 [E]:[eTag] hello kuloud\n2015/11/07 23:35:07 [E]:[efTag] %!s(MISSING), just like you said.\n```\n\n\nInstallation and Upgrade\n------------------------\n\n```\n$ go get -u github.com/Kuloud/Klog\n```\n\nHistory\n-------\n\nv1.0.0, 7 Nov 2015\n------------------\n* Initial release\n** Level contorl\n** File log\n\n\nLicense\n-------\n\nApache License Version 2.0. See [LICENSE](https://github.com/Kuloud/Klog/blob/master/LICENSE) file for details.\n\n\nToDo\n----\n* Load configuration by profile, such as xml/properties... Fix log file recreate each time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuloud%2Fklog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuloud%2Fklog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuloud%2Fklog/lists"}