Documentation
¶
Index ¶
- func AcceptedLevel() level.Level
- func Colorize(style color.Style, a ...interface{}) string
- func ColorizeF(style color.Style, format string, a ...interface{}) string
- func ColorizeLn(style color.Style, a ...interface{}) string
- func Context(ctx context.Context) types.LoggerInterface
- func Debug() types.ManagerInterface
- func Default() types.ManagerInterface
- func DefaultLogger() types.LoggerInterface
- func ErrStream() io.Writer
- func Error() types.ManagerInterface
- func FitText(text string, options types.FitTextOptions) string
- func Info() types.ManagerInterface
- func IsAcceptedLevel(lvl level.Level) bool
- func Log(a ...interface{})
- func LogBlock(headerOrFormat string, a ...interface{}) types.LogBlockInterface
- func LogDetails(a ...interface{})
- func LogF(format string, a ...interface{})
- func LogFDetails(format string, a ...interface{})
- func LogFHighlight(format string, a ...interface{})
- func LogFWithCustomStyle(style color.Style, format string, a ...interface{})
- func LogHighlight(a ...interface{})
- func LogLn(a ...interface{})
- func LogLnDetails(a ...interface{})
- func LogLnHighlight(a ...interface{})
- func LogLnWithCustomStyle(style color.Style, a ...interface{})
- func LogOptionalLn()
- func LogProcess(headerOrFormat string, a ...interface{}) types.LogProcessInterface
- func LogProcessInline(headerOrFormat string, a ...interface{}) types.LogProcessInlineInterface
- func LogWithCustomStyle(style color.Style, a ...interface{})
- func NewContext(ctx context.Context, logger types.LoggerInterface) context.Context
- func NewLogger(outStream, errStream io.Writer) types.LoggerInterface
- func NewSubLogger(outStream, errStream io.Writer) types.LoggerInterface
- func OutStream() io.Writer
- func Reset()
- func ResetModes()
- func ResetState()
- func SetAcceptedLevel(lvl level.Level)
- func Streams() types.StreamsInterface
- func Warn() types.ManagerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptedLevel ¶
func ColorizeLn ¶ added in v0.5.0
func Debug ¶
func Debug() types.ManagerInterface
func Default ¶
func Default() types.ManagerInterface
func DefaultLogger ¶
func DefaultLogger() types.LoggerInterface
func Error ¶
func Error() types.ManagerInterface
func Info ¶
func Info() types.ManagerInterface
func IsAcceptedLevel ¶
func LogBlock ¶
func LogBlock(headerOrFormat string, a ...interface{}) types.LogBlockInterface
func LogDetails ¶ added in v0.5.0
func LogDetails(a ...interface{})
func LogFDetails ¶
func LogFDetails(format string, a ...interface{})
func LogFHighlight ¶
func LogFHighlight(format string, a ...interface{})
func LogFWithCustomStyle ¶
func LogHighlight ¶ added in v0.5.0
func LogHighlight(a ...interface{})
func LogLnDetails ¶
func LogLnDetails(a ...interface{})
func LogLnHighlight ¶
func LogLnHighlight(a ...interface{})
func LogLnWithCustomStyle ¶
func LogOptionalLn ¶
func LogOptionalLn()
func LogProcess ¶
func LogProcess(headerOrFormat string, a ...interface{}) types.LogProcessInterface
func LogProcessInline ¶
func LogProcessInline(headerOrFormat string, a ...interface{}) types.LogProcessInlineInterface
func LogWithCustomStyle ¶ added in v0.5.0
func NewContext ¶
func NewSubLogger ¶
func NewSubLogger(outStream, errStream io.Writer) types.LoggerInterface
func ResetModes ¶ added in v0.4.4
func ResetModes()
func ResetState ¶ added in v0.4.4
func ResetState()
func SetAcceptedLevel ¶
func Streams ¶
func Streams() types.StreamsInterface
func Warn ¶
func Warn() types.ManagerInterface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.