Skip to content

Commit 0f8db50

Browse files
James Lawrencejames-lawrence
James Lawrence
authored andcommitted
by default log to stderr
1 parent e9dd859 commit 0f8db50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slack.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func New(token string, options ...Option) *Client {
8585
s := &Client{
8686
token: token,
8787
httpclient: &http.Client{},
88-
log: log.New(os.Stdout, "nlopes/slack", log.LstdFlags|log.Lshortfile),
88+
log: log.New(os.Stderr, "nlopes/slack", log.LstdFlags|log.Lshortfile),
8989
}
9090

9191
for _, opt := range options {

0 commit comments

Comments
 (0)