Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 LogEntry ¶
type LogEntry interface { common.Releasable fmt.Stringer }
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.