Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultLogLevel = log.LevelInfo
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func NewComponent ¶
func NewComponent() *Component
func (*Component) SetLogLevel ¶
func (*Component) SetLogName ¶
func (*Component) SetLogger ¶
func (c *Component) SetLogger(opt *LoggerOption)
type ComponentBuilder ¶
type ComponentBuilder interface { ComponentLogger }
type ComponentLogger ¶
type ComponentLogger interface { SetLogger(opt *LoggerOption) SetLogLevel(level int) SetLogName(name string) Logger() logger.Logger }
type LoggerOption ¶
Click to show internal directories.
Click to hide internal directories.