Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶
type AccessLog struct { From interface{} To interface{} Status string Reason interface{} }
type FileLogWriter ¶
type FileLogWriter struct {
// contains filtered or unexported fields
}
func NewFileLogWriter ¶
func NewFileLogWriter(path string) (*FileLogWriter, error)
func (*FileLogWriter) Close ¶
func (v *FileLogWriter) Close()
func (*FileLogWriter) Log ¶
func (v *FileLogWriter) Log(log LogEntry)
type LogWriter ¶
type LogWriter interface { Log(LogEntry) Close() }
func NewStdOutLogWriter ¶
func NewStdOutLogWriter() LogWriter
type NoOpLogWriter ¶
type NoOpLogWriter struct { }
func (*NoOpLogWriter) Close ¶ added in v1.19.1
func (v *NoOpLogWriter) Close()
func (*NoOpLogWriter) Log ¶
func (v *NoOpLogWriter) Log(entry LogEntry)
type StdOutLogWriter ¶
type StdOutLogWriter struct {
// contains filtered or unexported fields
}
func (*StdOutLogWriter) Close ¶ added in v1.19.1
func (v *StdOutLogWriter) Close()
func (*StdOutLogWriter) Log ¶
func (v *StdOutLogWriter) Log(log LogEntry)
Click to show internal directories.
Click to hide internal directories.