Skip to content

Commit

Permalink
Change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
jylitalo committed Sep 19, 2023
1 parent ccda5f8 commit a14accb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# `tint`: 🌈 **slog.Handler** that writes tinted logs

[![Go Reference](https://pkg.go.dev/badge/github.com/lmittmann/tint.svg)](https://pkg.go.dev/github.com/lmittmann/tint#section-documentation)
[![Go Report Card](https://goreportcard.com/badge/github.com/lmittmann/tint)](https://goreportcard.com/report/github.com/lmittmann/tint)
[![Go Reference](https://pkg.go.dev/badge/github.com/jylitalo/tint.svg)](https://pkg.go.dev/github.com/jylitalo/tint#section-documentation)
[![Go Report Card](https://goreportcard.com/badge/github.com/jylitalo/tint)](https://goreportcard.com/report/github.com/jylitalo/tint)

<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/lmittmann/tint/assets/3458786/3d42f8d5-8bdf-40db-a16a-1939c88689cb">
<source media="(prefers-color-scheme: light)" srcset="https://github.com/lmittmann/tint/assets/3458786/3d42f8d5-8bdf-40db-a16a-1939c88689cb">
<img src="https://github.com/lmittmann/tint/assets/3458786/3d42f8d5-8bdf-40db-a16a-1939c88689cb">
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/jylitalo/tint/assets/3458786/3d42f8d5-8bdf-40db-a16a-1939c88689cb">
<source media="(prefers-color-scheme: light)" srcset="https://github.com/jylitalo/tint/assets/3458786/3d42f8d5-8bdf-40db-a16a-1939c88689cb">
<img src="https://github.com/jylitalo/tint/assets/3458786/3d42f8d5-8bdf-40db-a16a-1939c88689cb">
</picture>
<br>
<br>
Expand All @@ -15,11 +15,11 @@ Package `tint` implements a zero-dependency [`slog.Handler`](https://pkg.go.dev/
that writes tinted (colorized) logs. Its output format is inspired by the `zerolog.ConsoleWriter` and
[`slog.TextHandler`](https://pkg.go.dev/log/slog#TextHandler).

The output format can be customized using [`Options`](https://pkg.go.dev/github.com/lmittmann/tint#Options)
The output format can be customized using [`Options`](https://pkg.go.dev/github.com/jylitalo/tint#Options)
which is a drop-in replacement for [`slog.HandlerOptions`](https://pkg.go.dev/log/slog#HandlerOptions).

```
go get github.com/lmittmann/tint
go get github.com/jylitalo/tint
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/lmittmann/tint
module github.com/jylitalo/tint

go 1.21
Empty file added go.sum
Empty file.
2 changes: 1 addition & 1 deletion handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

"github.com/lmittmann/tint"
"github.com/jylitalo/tint"
)

var faketime = time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)
Expand Down

0 comments on commit a14accb

Please sign in to comment.