diff --git a/terminal_openbsd.go b/terminal_openbsd.go index d238bfa..af609a5 100644 --- a/terminal_openbsd.go +++ b/terminal_openbsd.go @@ -1,4 +1,3 @@ - package logrus import "syscall" diff --git a/writer.go b/writer.go index 90d3e01..1e30b1c 100644 --- a/writer.go +++ b/writer.go @@ -6,7 +6,7 @@ import ( "runtime" ) -func (logger *Logger) Writer() (*io.PipeWriter) { +func (logger *Logger) Writer() *io.PipeWriter { reader, writer := io.Pipe() go logger.writerScanner(reader)