{"id":13366592,"url":"https://github.com/Golang/glog","last_synced_at":"2025-03-12T18:31:10.686Z","repository":{"id":9537384,"uuid":"11440704","full_name":"golang/glog","owner":"golang","description":"Leveled execution logs for Go","archived":false,"fork":false,"pushed_at":"2024-04-04T14:10:35.000Z","size":85,"stargazers_count":3511,"open_issues_count":2,"forks_count":904,"subscribers_count":94,"default_branch":"master","last_synced_at":"2024-05-23T00:02:07.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"LarryMad/recipes","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/golang.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-07-16T04:33:04.000Z","updated_at":"2024-06-18T10:46:30.825Z","dependencies_parsed_at":"2023-11-22T12:29:45.660Z","dependency_job_id":"3ce76550-1cdd-46ed-9fc5-7059a8fcd384","html_url":"https://github.com/golang/glog","commit_stats":{"total_commits":35,"total_committers":12,"mean_commits":"2.9166666666666665","dds":0.6857142857142857,"last_synced_commit":"861d094757551d2f65d1003f0ec93bc92b254a5a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golang%2Fglog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golang%2Fglog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golang%2Fglog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golang%2Fglog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/golang","download_url":"https://codeload.github.com/golang/glog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221309837,"owners_count":16795821,"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":[],"created_at":"2024-07-30T00:01:27.786Z","updated_at":"2024-10-24T11:30:22.957Z","avatar_url":"https://github.com/golang.png","language":"Go","funding_links":[],"categories":["日志","日誌"],"sub_categories":["高级控制台界面","高級控制台界面"],"readme":"# glog\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/golang/glog)](https://pkg.go.dev/github.com/golang/glog)\n\nLeveled execution logs for Go.\n\nThis is an efficient pure Go implementation of leveled logs in the\nmanner of the open source C++ package [_glog_](https://github.com/google/glog).\n\nBy binding methods to booleans it is possible to use the log package without paying the expense of evaluating the arguments to the log. Through the `-vmodule` flag, the package also provides fine-grained\ncontrol over logging at the file level.\n\nThe comment from `glog.go` introduces the ideas:\n\nPackage _glog_ implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.  It provides the functions Info, Warning, Error, Fatal, plus formatting variants such as Infof. It also provides V-style loggingcontrolled by the `-v` and `-vmodule=file=2` flags.\n\t\nBasic examples:\n\n```go\nglog.Info(\"Prepare to repel boarders\")\n\t\nglog.Fatalf(\"Initialization failed: %s\", err)\n```\n\t\nSee the documentation for the V function for an explanation of these examples:\n\n```go\nif glog.V(2) {\n\tglog.Info(\"Starting transaction...\")\n}\nglog.V(2).Infoln(\"Processed\", nItems, \"elements\")\n```\n\nThe repository contains an open source version of the log package used inside Google. The master copy of the source lives inside Google, not here. The code in this repo is for export only and is not itself under development. Feature requests will be ignored.\n\nSend bug reports to golang-nuts@googlegroups.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGolang%2Fglog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGolang%2Fglog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGolang%2Fglog/lists"}