https://github.com/bodgit/xraylogr
https://github.com/bodgit/xraylogr
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bodgit/xraylogr
- Owner: bodgit
- License: bsd-3-clause
- Created: 2025-05-29T23:00:11.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-08-27T00:10:43.000Z (6 months ago)
- Last Synced: 2025-08-27T08:56:38.326Z (6 months ago)
- Language: Go
- Size: 32.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://securityscorecards.dev/viewer/?uri=github.com/bodgit/xraylogr)
[](https://www.bestpractices.dev/projects/10667)
[](https://github.com/bodgit/xraylogr/releases)
[](https://github.com/bodgit/xraylogr/actions?query=workflow%3ABuild)
[](https://coveralls.io/github/bodgit/xraylogr?branch=main)
[](https://goreportcard.com/report/github.com/bodgit/xraylogr)
[](https://godoc.org/github.com/bodgit/xraylogr)


# xraylogr
This simple package provides a means to use [github.com/go-logr/logr](https://pkg.go.dev/github.com/go-logr/logr) with the [github.com/aws/aws-xray-sdk-go](https://pkg.go.dev/github.com/aws/aws-xray-sdk-go) AWS X-Ray tracing SDK.
An example:
```golang
l := stdr.New(nil)
nl, err := xraylogr.New(l)
if err != nil {
log.Fatal(err)
}
xray.SetLogger(nl)
```