Skip to content

Commit

Permalink
Merge pull request #3 from tjhop/docs
Browse files Browse the repository at this point in the history
Docs
  • Loading branch information
tjhop authored Dec 5, 2024
2 parents 82c73cc + 5da4124 commit c5558d3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[![license](https://img.shields.io/github/license/tjhop/slog-gokit)](https://github.com/tjhop/slog-gokit/blob/master/LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/tjhop/slog-gokit)](https://goreportcard.com/report/github.com/tjhop/slog-gokit)
[![golangci-lint](https://github.com/tjhop/slog-gokit/actions/workflows/golangci-lint.yaml/badge.svg)](https://github.com/tjhop/slog-gokit/actions/workflows/golangci-lint.yaml)
[![Latest Release](https://img.shields.io/github/v/release/tjhop/slog-gokit)](https://github.com/tjhop/slog-gokit/releases/latest)

# Go slog-gokit Adapter

This library provides a custom slog.Handler that wraps a go-kit Logger, so that loggers created via `slog.New()` chain their log calls to the internal go-kit Logger.
Expand All @@ -8,6 +13,12 @@ This library provides a custom slog.Handler that wraps a go-kit Logger, so that
go get github.com/tjhop/slog-gokit
```

## Documentation

Documentation can be found here:

https://pkg.go.dev/github.com/tjhop/slog-gokit

## Example

```go
Expand Down

0 comments on commit c5558d3

Please sign in to comment.