Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions galog_stderr.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
package galog

import (
"io"
"os"
)

Expand All @@ -34,10 +33,8 @@ type StderrBackend struct {
}

// NewStderrBackend returns a Backend implementation that will log out to
// the process' stderr. Writers is deprecated and will be removed in the future.
// It is kept for compatibility with users who may have used it in the past.
// It always writes to os.Stderr.
func NewStderrBackend(writers ...io.Writer) *StderrBackend {
// the process' stderr. It always writes to os.Stderr.
func NewStderrBackend() *StderrBackend {
res := &StderrBackend{
writerBackend: &writerBackend{
backendID: "log-backend,stderr",
Expand Down
Loading