{"id":25014358,"url":"https://github.com/gregoryv/logger","last_synced_at":"2025-03-30T05:13:22.292Z","repository":{"id":57487317,"uuid":"165645182","full_name":"gregoryv/logger","owner":"gregoryv","description":"logger package provides log.Logger adapters","archived":false,"fork":false,"pushed_at":"2019-11-08T09:58:54.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T07:19:40.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/gregoryv.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","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":"2019-01-14T10:52:20.000Z","updated_at":"2023-09-17T07:46:10.000Z","dependencies_parsed_at":"2022-09-01T22:51:15.621Z","dependency_job_id":null,"html_url":"https://github.com/gregoryv/logger","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Flogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Flogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Flogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Flogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregoryv","download_url":"https://codeload.github.com/gregoryv/logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277360,"owners_count":20751549,"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":"2025-02-05T07:19:09.497Z","updated_at":"2025-03-30T05:13:22.267Z","avatar_url":"https://github.com/gregoryv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/gregoryv/logger.svg?branch=master)](https://travis-ci.org/gregoryv/logger)\n[![codecov](https://codecov.io/gh/gregoryv/logger/branch/master/graph/badge.svg)](https://codecov.io/gh/gregoryv/logger)\n\n[logger](https://godoc.org/github.com/gregoryv/logger) - package provides log.Logger adapters\n\n## Quick start\n\n    go get github.com/gregoryv/logger\n\nUse in your code\n\n    type Car struct {\n        logger.Logger\n    }\n\n    car := \u0026Car{logger.New()}\n    car.Log(\"brakes are failing\")\n    car.Logf(\"reached speed limit %s\", 100)\n\nor when testing the logger can be replaced by testing.T\n\n    func Test_car_speed(t *testing.T) {\n        car := \u0026Car{t}\n        // asserts here\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Flogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregoryv%2Flogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Flogger/lists"}