Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandLogger ¶
type FtpCommandLogger ¶
type FtpCommandLogger struct {
// contains filtered or unexported fields
}
func NewFtpCommandLogger ¶
func NewFtpCommandLogger(config *config.Config) (*FtpCommandLogger, error)
func (*FtpCommandLogger) LogWithContext ¶
func (l *FtpCommandLogger) LogWithContext(ctx ftpserver.ClientContext, command string, fields ...zap.Field)
func (*FtpCommandLogger) ShouldLog ¶
func (l *FtpCommandLogger) ShouldLog(command string) bool
func (*FtpCommandLogger) WithContext ¶
func (l *FtpCommandLogger) WithContext(context ftpserver.ClientContext) *contextBoundFtpCommandLogger
Click to show internal directories.
Click to hide internal directories.