gol4ng/logger

View on GitHub
writer/rotate.go

Summary

Maintainability
A
0 mins
Test Coverage
package writer

import (
    "io"
)

// RotateWriter is a Writer with extra rotate feature that allows you to change the writer as you need
// See rotate writer implementations in the writer package.
type RotateWriter interface {
    io.Writer
    Rotate() error
}