Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterfaceToString ¶ added in v1.17.1
func InterfaceToString(value interface{}) string
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 (this *FileLogWriter) Close()
func (*FileLogWriter) Log ¶
func (this *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 (this *NoOpLogWriter) Close()
func (*NoOpLogWriter) Log ¶
func (this *NoOpLogWriter) Log(entry LogEntry)
type StdOutLogWriter ¶
type StdOutLogWriter struct {
// contains filtered or unexported fields
}
func (*StdOutLogWriter) Close ¶ added in v1.19.1
func (this *StdOutLogWriter) Close()
func (*StdOutLogWriter) Log ¶
func (this *StdOutLogWriter) Log(log LogEntry)
Click to show internal directories.
Click to hide internal directories.