Documentation ¶
Index ¶
- func AddPrefix(ctx context.Context, prefix string) context.Context
- func Black(ctx context.Context, format string, args ...interface{})
- func Blue(ctx context.Context, format string, args ...interface{})
- func Cyan(ctx context.Context, format string, args ...interface{})
- func Debug(ctx context.Context, format string, args ...interface{})
- func Green(ctx context.Context, format string, args ...interface{})
- func IsHidden(ctx context.Context) bool
- func Magenta(ctx context.Context, format string, args ...interface{})
- func Prefix(ctx context.Context) string
- func Print(ctx context.Context, format string, args ...interface{})
- func Red(ctx context.Context, format string, args ...interface{})
- func White(ctx context.Context, format string, args ...interface{})
- func WithHidden(ctx context.Context, hidden bool) context.Context
- func WithPrefix(ctx context.Context, prefix string) context.Context
- func Yellow(ctx context.Context, format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPrefix ¶
AddPrefix returns a context with the given prefix added to end of the existing prefix
func WithHidden ¶
WithHidden returns a context with the flag value for hidden set
func WithPrefix ¶
WithPrefix returns a context with the given prefix set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.