Documentation ¶
Index ¶
- func ConfigureArgNameFormatterFunc(f func(string) string) bool
- func ConfigureArgToStringFunction(f interface{}) bool
- func ConfigureIncludeContext(boolean bool)
- func ConfigureOutputFunction(w interface{}) bool
- func ConfigurePrefix(prefix string)
- func Disable()
- func Enable()
- func Format(values ...interface{}) string
- func Ic(values ...interface{}) []interface{}
- func ResetArgToStringFunction()
- func ResetIncludeContext()
- func ResetOutputFunction()
- func ResetPrefix()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureArgNameFormatterFunc ¶
ConfigureArgNameFormatterFunc config arg name formatter. f should be `func(string) string`, the return value indicates whether w is legal.
func ConfigureArgToStringFunction ¶
func ConfigureArgToStringFunction(f interface{}) bool
func ConfigureIncludeContext ¶
func ConfigureIncludeContext(boolean bool)
func ConfigureOutputFunction ¶
func ConfigureOutputFunction(w interface{}) bool
ConfigureOutputFunction modifies output that writes the final msg into w. w should be io.StringWriter or function with string arg, the return value indicates whether w is legal
func ConfigurePrefix ¶
func ConfigurePrefix(prefix string)
func ResetArgToStringFunction ¶
func ResetArgToStringFunction()
func ResetIncludeContext ¶
func ResetIncludeContext()
func ResetOutputFunction ¶
func ResetOutputFunction()
func ResetPrefix ¶
func ResetPrefix()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.