Documentation ¶
Index ¶
- type Config
- type Interface
- type Service
- func (s *Service) Close() error
- func (s *Service) NewLogger(prefix string, flag int) *log.Logger
- func (s *Service) NewRawLogger(prefix string, flag int) *log.Logger
- func (s *Service) NewStaticLevelLogger(prefix string, flag int, l wlog.Level) *log.Logger
- func (s *Service) NewStaticLevelWriter(l wlog.Level) io.Writer
- func (s *Service) Open() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { NewLogger(prefix string, flag int) *log.Logger NewRawLogger(prefix string, flag int) *log.Logger NewStaticLevelLogger(prefix string, flag int, l wlog.Level) *log.Logger NewStaticLevelWriter(l wlog.Level) io.Writer }
Interface for creating new loggers
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) NewRawLogger ¶ added in v1.0.0
func (*Service) NewStaticLevelLogger ¶
func (*Service) NewStaticLevelWriter ¶ added in v0.13.0
Click to show internal directories.
Click to hide internal directories.