Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 9738427

Browse files
author
springfang
committed
Update to match new logrus casin
1 parent f13d41d commit 9738427

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# logrus-stack 🎯
22
[![GoDoc](https://godoc.org/github.com/Gurpartap/logrus-stack?status.svg)](https://godoc.org/github.com/Gurpartap/logrus-stack)
33

4-
logrus-stack provides [facebookgo/stack](https://github.com/facebookgo/stack) integration hook for [Sirupsen/logrus](https://github.com/Sirupsen/logrus).
4+
logrus-stack provides [facebookgo/stack](https://github.com/facebookgo/stack) integration hook for [sirupsen/logrus](https://github.com/sirupsen/logrus).
55

66
Instead of setting file, line, and func name values individually, this hook sets "caller" and/or "stack" objects containing file, line and func name.
77

@@ -39,7 +39,7 @@ import (
3939
"os"
4040

4141
"github.com/Gurpartap/logrus-stack"
42-
"github.com/Sirupsen/logrus"
42+
"github.com/sirupsen/logrus"
4343
)
4444

4545
type Worker struct {

example/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"os"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/recursionpharma/logrus-stack"
8+
"github.com/sirupsen/logrus"
99
)
1010

1111
type Worker struct {

logrus-stack-hook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package logrus_stack
33
import (
44
"strings"
55

6-
"github.com/Sirupsen/logrus"
76
"github.com/facebookgo/stack"
7+
"github.com/sirupsen/logrus"
88
)
99

1010
// NewHook is the initializer for LogrusStackHook{} (implementing logrus.Hook).

0 commit comments

Comments
 (0)