Documentation ¶
Index ¶
- type ChannelConfig
- type Config
- type Service
- func (s *Service) Alert(message string, context map[string]interface{}) error
- func (s *Service) Critical(message string, context map[string]interface{}) error
- func (s *Service) Debug(message string, context map[string]interface{}) error
- func (s *Service) Emergency(message string, context map[string]interface{}) error
- func (s *Service) Error(message string, context map[string]interface{}) error
- func (s *Service) Info(message string, context map[string]interface{}) error
- func (s *Service) Notice(message string, context map[string]interface{}) error
- func (s *Service) RegisterDriver(name string, construct contracts.LoggingDriverConstructor) error
- func (s *Service) Warning(message string, context map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelConfig ¶
ChannelConfig represents a logging channel configuration
type Config ¶
type Config struct { // Default log channel Default string // Log channels Channels map[string]ChannelConfig }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(application contracts.Application, config Config) *Service
func (*Service) RegisterDriver ¶
func (s *Service) RegisterDriver(name string, construct contracts.LoggingDriverConstructor) error
Click to show internal directories.
Click to hide internal directories.