Documentation
¶
Index ¶
- func AssetServer(dev bool) http.HandlerFunc
- func ChugCommand() common.Command
- func ChugWithFilter(reader io.Reader, minTime time.Time, maxTime time.Time, match *regexp.Regexp, ...) chan chug.Entry
- func ParseTimeFlag(t string) (time.Time, error)
- func Prettify(relativeTime string, data string, hideNonLager bool, minTime time.Time, ...) error
- func ServeChugCommand() common.Command
- func ServeLogs(addr string, dev bool, minTime time.Time, maxTime time.Time, ...) error
- func Unify(files []io.Reader, out io.Writer, minTime time.Time, maxTime time.Time, ...) error
- func UnifyChugCommand() common.Command
- type JSFriendlyChugEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetServer ¶
func AssetServer(dev bool) http.HandlerFunc
func ChugCommand ¶
func ChugWithFilter ¶
func ServeChugCommand ¶
func UnifyChugCommand ¶
Types ¶
type JSFriendlyChugEntry ¶
type JSFriendlyChugEntry struct { IsLager bool `json:"is_lager"` Raw string `json:"raw"` Log struct { Timestamp int64 `json:"timestamp"` LogLevel string `json:"level"` Source string `json:"source"` Message string `json:"message"` Session string `json:"session"` Error string `json:"error,omitempty"` Trace string `json:"trace,omitempty"` Data lager.Data `json:"data"` } `json:"log,omitempty"` }
func NewJSFriendlyChugEntry ¶
func NewJSFriendlyChugEntry(entry chug.Entry) JSFriendlyChugEntry
Click to show internal directories.
Click to hide internal directories.