{"id":40954537,"url":"https://github.com/adamveld12/lopher","last_synced_at":"2026-01-22T05:31:30.952Z","repository":{"id":82599189,"uuid":"82639158","full_name":"adamveld12/lopher","owner":"adamveld12","description":"The simplest log API ever","archived":false,"fork":false,"pushed_at":"2018-07-19T16:48:17.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-19T06:47:16.173Z","etag":null,"topics":["golang","logging"],"latest_commit_sha":null,"homepage":"","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/adamveld12.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}},"created_at":"2017-02-21T05:17:40.000Z","updated_at":"2018-07-19T16:47:45.000Z","dependencies_parsed_at":"2023-10-20T16:20:00.597Z","dependency_job_id":null,"html_url":"https://github.com/adamveld12/lopher","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/adamveld12/lopher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Flopher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Flopher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Flopher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Flopher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamveld12","download_url":"https://codeload.github.com/adamveld12/lopher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamveld12%2Flopher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28656224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["golang","logging"],"created_at":"2026-01-22T05:31:26.441Z","updated_at":"2026-01-22T05:31:30.947Z","avatar_url":"https://github.com/adamveld12.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lopher\n[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/adamveld12/lopher)\n[![Go Walker](http://gowalker.org/api/v1/badge)](https://gowalker.org/github.com/adamveld12/lopher)\n[![Gocover](http://gocover.io/_badge/github.com/adamveld12/lopher)](http://gocover.io/github.com/adamveld12/lopher)\n[![Go Report Card](https://goreportcard.com/badge/github.com/adamveld12/lopher)](https://goreportcard.com/report/github.com/adamveld12/lopher)\n[![wercker status](https://app.wercker.com/status/c7ab8a9e5a8b29d22f365f9bd1e808fc/s/master \"wercker status\")](https://app.wercker.com/project/byKey/c7ab8a9e5a8b29d22f365f9bd1e808fc)\n\nA dead simple log library, inspired by [Dave Cheney's blog post on logging](https://dave.cheney.net/2015/11/05/lets-talk-about-logging).\n\nOnly two log levels exist: Info and Debug. Info is always enabled, Debug is for development time.\n\nIncluded are the same flags that are available with the standard library log package, with an API that\nshould feel familiar to you if you've used the standard library `log` package at all.\n\n## How to use\n\n```go\npackage main\n\nimport (\n    \"time\"\n    \"os\"\n    \"gopkg.in/adamveld12/lopher.v1\"\n)\n\nfunc main(){\n    // make a new instance:\n    l := lopher.New(os.Stdout, false, lopher.LFstdFlags)\n\n    started := time.Now()\n\n    // mm/dd/yyyy hh:mm:ss /file/path/main.go [INFO] App started.\\n\n    l.Info(\"App started.\")\n\n    // Debug entries don't print unless you set DebugMode to true\n    l.DebugMode(true)\n\n    l.Debug(\"App is doing stuff\")\n    l.Debugf(\"App ran for %+v\", time.Since(started))\n\n    // Also included are package level functions with the same API as an instance\n    lopher.Info(\"App Exiting\")\n}\n```\n\n## Credits\n\nDave Cheney for being dope\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamveld12%2Flopher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamveld12%2Flopher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamveld12%2Flopher/lists"}