github.com/jiasir/deis@v1.12.2/logger/storage/adapter.go (about)

     1  package storage
     2  
     3  // Adapter is an interface for pluggable components that store log messages.
     4  type Adapter interface {
     5  	Write(string, string) error
     6  	Read(string, int) ([]string, error)
     7  	Destroy(string) error
     8  	Reopen() error
     9  }