Documentation
¶
Overview ¶
Package cli writes is same as builtin IOHandler except color and delta time. It is used by go.ice as default handler TODO: color can't be disabled and we don't detect tty like logrus
Index ¶
- type Handler
- func (h *Handler) Flush()
- func (h *Handler) HandleLog(level log.Level, time time.Time, msg string)
- func (h *Handler) HandleLogWithFields(level log.Level, time time.Time, msg string, fields log.Fields)
- func (h *Handler) HandleLogWithSource(level log.Level, time time.Time, msg string, source string)
- func (h *Handler) HandleLogWithSourceFields(level log.Level, time time.Time, msg string, source string, fields log.Fields)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) HandleLogWithFields ¶
func (*Handler) HandleLogWithSource ¶
Click to show internal directories.
Click to hide internal directories.
