Documentation
¶
Overview ¶
logger.nginx 包,该包包含了bifrost.pkg.logger.nginx项目用于读取nginx日志的相关对象,及相关方法及函数 创建者: ClessLi 创建时间:2020-10-27 17:02:30
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrLogsDirPath = errors.New("logs dir is not exist or is not a directory") ErrLogBufferIsNotExist = errors.New("log buffer is not exist") ErrLogBufferIsExist = errors.New("log buffer is exist") ErrLogIsLocked = errors.New("log is locked") ErrLogIsUnlocked = errors.New("log is unlocked") ErrUnknownLockError = errors.New("unknown lock error") )
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
TODO: nginx日志读取包
func (*Log) StartWatch ¶
Click to show internal directories.
Click to hide internal directories.