Documentation
¶
Overview ¶
Package brannigan contains helper methods to redirect CoreOS capnslog output to an Uber Zap logger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewZapFormatter ¶
NewZapFormatter creates a capnslog Formatter that delegates to the provided zap logger
func RedirectCapnslog ¶
RedirectCapnslog sets the capnslog formatter to the provided zap logger
func RedirectCapnslogToGlobalZapLogger ¶
func RedirectCapnslogToGlobalZapLogger()
RedirectCapnslogToGlobalZapLogger sets the capnslog formatter to the global zap logger
Types ¶
type ZapFormatter ¶
type ZapFormatter struct {
// contains filtered or unexported fields
}
ZapFormatter implements the capnslog.Formatter interface
func (*ZapFormatter) Flush ¶
func (z *ZapFormatter) Flush()
Click to show internal directories.
Click to hide internal directories.