Documentation ¶
Index ¶
- Variables
- func EnableGroupSession(logger interface{}) func()
- func New(options ...Option) logr.Logger
- type Colors
- type GroupedLogger
- type Option
- func CheckMarkCharacter(m rune) Option
- func Color(colors Colors) Option
- func Err(w io.Writer) Option
- func ErrorMarkCharacter(m rune) Option
- func Grouppable() Option
- func Out(w io.Writer) Option
- func SeparatorCharacter(m rune) Option
- func Truncate() Option
- func WithName(name string) Option
- func WithTime(format string) Option
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalLogLevel = 1
View Source
var Log logr.Logger = New()
Functions ¶
func EnableGroupSession ¶
func EnableGroupSession(logger interface{}) func()
Types ¶
type GroupedLogger ¶
type GroupedLogger interface {
Grouped(state bool)
}
type Option ¶ added in v0.13.0
type Option func(*logger)
func CheckMarkCharacter ¶
func ErrorMarkCharacter ¶
func Grouppable ¶
func Grouppable() Option
func SeparatorCharacter ¶
Click to show internal directories.
Click to hide internal directories.