Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NoyeFormatter ¶
type NoyeFormatter struct {
// contains filtered or unexported fields
}
NoyeFormatter is a factorlog formatter that applies the correct function name, line number and filename
func NewNoyeFormatter ¶
func NewNoyeFormatter(depth int) *NoyeFormatter
NewNoyeFormatter returns a new NoyeFormatter
func (*NoyeFormatter) Format ¶
func (n *NoyeFormatter) Format(context factorlog.LogContext) []byte
Format the message and produce a byte slice
func (*NoyeFormatter) ShouldRuntimeCaller ¶
func (n *NoyeFormatter) ShouldRuntimeCaller() bool
ShouldRuntimeCaller tells factorlog to use the runtime caller
type ScriptFormatter ¶
type ScriptFormatter struct {
*NoyeFormatter
}
func NewScriptFormatter ¶
func NewScriptFormatter() *ScriptFormatter
Click to show internal directories.
Click to hide internal directories.