Documentation
¶
Index ¶
Constants ¶
View Source
const LoggerFormat = "(.*)(\033\\[\\d+m)+(INFO|DEBUG|FATAL|WARN|PANIC|ERROR)(\033\\[0m)+(.*)"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerWatch ¶
type LoggerWatch struct {
// contains filtered or unexported fields
}
var DefaultLoggerWatch *LoggerWatch
func New ¶
func New() *LoggerWatch
func (*LoggerWatch) Find ¶
func (lw *LoggerWatch) Find(file, time, level, caller, msg string) (ret []*loggerEntry)
func (*LoggerWatch) Parse ¶
func (lw *LoggerWatch) Parse(path string) error
Click to show internal directories.
Click to hide internal directories.