{"id":20271917,"url":"https://github.com/point-c/wglog","last_synced_at":"2026-05-18T06:39:14.607Z","repository":{"id":214015046,"uuid":"735483540","full_name":"point-c/wglog","owner":"point-c","description":"wglog enhances the functionality of the device.Logger type found in wireguard-go","archived":false,"fork":false,"pushed_at":"2024-02-08T04:23:41.000Z","size":356,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T19:03:20.519Z","etag":null,"topics":["golang","golang-library","wireguard","wireguard-go"],"latest_commit_sha":null,"homepage":"https://point-c.github.io/wglog/","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/point-c.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}},"created_at":"2023-12-25T05:15:34.000Z","updated_at":"2024-02-08T04:14:58.000Z","dependencies_parsed_at":"2024-01-01T17:24:35.378Z","dependency_job_id":"416185c3-d937-45eb-b05a-9c88567f02b5","html_url":"https://github.com/point-c/wglog","commit_stats":null,"previous_names":["point-c/wglog"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/point-c/wglog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fwglog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fwglog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fwglog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fwglog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/point-c","download_url":"https://codeload.github.com/point-c/wglog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fwglog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","golang-library","wireguard","wireguard-go"],"created_at":"2024-11-14T12:40:00.931Z","updated_at":"2026-05-18T06:39:14.576Z","avatar_url":"https://github.com/point-c.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wglog\n\n[![Go Reference](https://img.shields.io/badge/godoc-reference-%23007d9c.svg)](https://point-c.github.io/wglog)\n[![Go Coverage](https://github.com/point-c/wglog/wiki/coverage.svg)](https://raw.githack.com/wiki/point-c/wglog/coverage.html)\n\nThis is a set of extensions for `Wireguard-go`'s logger.\n\n## Installation\n\nTo use wglog in your Go project, install it using `go get`:\n\n```bash\ngo get github.com/point-c/wglog\n```\n\n## Loggers\n\n- `noop`: Non-nil logger that does nothing.\n- `slog`: Converts a `slog.Logger` to a `device.Logger`.\n  - Logging is done on the following levels:\n    - `Verbosef`\n      - `slog.LevelDebug`\n    - `Errorf`\n      - `slog.LevelError`\n- `multi`: Emits log messages on multiple loggers. \n- `async`: Runs the logger funcs in a goroutine.\n\n## Testing\n\nThe package includes tests that demonstrate its functionality. Use Go's testing tools to run the tests:\n\n```bash\ngo test\n```\n\n## Godocs\n\nTo regenerate godocs:\n\n```bash\ngo generate -tags docs ./...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoint-c%2Fwglog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoint-c%2Fwglog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoint-c%2Fwglog/lists"}