Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogReadCloser ¶
type LogReadCloser struct { *LogReader // contains filtered or unexported fields }
LogReadCloser wraps a io.ReaderCloser with a logger.
func NewLogReadCloser ¶
func NewLogReadCloser(le *logrus.Entry, underlying io.ReadCloser) *LogReadCloser
func (*LogReadCloser) Close ¶
func (c *LogReadCloser) Close() error
type LogReader ¶
type LogReader struct {
// contains filtered or unexported fields
}
LogReader wraps a io.Reader with a logger.
type LogWriteCloser ¶
type LogWriteCloser struct { *LogWriter // contains filtered or unexported fields }
LogWriteCloser wraps a io.WriterCloser with a logger.
func NewLogWriteCloser ¶
func NewLogWriteCloser(le *logrus.Entry, underlying io.WriteCloser) *LogWriteCloser
func (*LogWriteCloser) Close ¶
func (c *LogWriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.