Documentation
¶
Index ¶
Constants ¶
View Source
const ( SubComponentField = "subcomponent" ComponentField = "component" )
Variables ¶
View Source
var DebugEnable string
DebugEnable is a string passed in by the compiler to control the build's inclusion of Debuggable sections.
View Source
var Debuggable = DebugEnable == "true"
Debuggable means that the build should include any debugging logic in it. The compiler *should* erase anything that's otherwise in a conditional.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { logrus.FieldLogger Writer() *io.PipeWriter WriterLevel(logrus.Level) *io.PipeWriter }
Logger is a top level component logging facade.
type SubLogger ¶
type SubLogger interface { logrus.FieldLogger }
SubLogger is a sub component logging facade for subsystems that do not have their own top level logging owner.
Click to show internal directories.
Click to hide internal directories.