log

package
v0.0.0-...-9853328 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL