Documentation
¶
Index ¶
- Constants
- type LoggingService
- func (s *LoggingService) GetConfig(key string) string
- func (s *LoggingService) GetData(key string) interface{}
- func (s *LoggingService) GetKernel() types.IKernel
- func (s *LoggingService) GetLogger() types.ILogger
- func (s *LoggingService) GetName() string
- func (s *LoggingService) GetRootLogger() types.ILogger
- func (s *LoggingService) Init() error
- func (s *LoggingService) Register() error
- func (s *LoggingService) SetConfig(key string, value string)
- func (s *LoggingService) SetData(key string, value interface{})
- func (s *LoggingService) Start() error
- func (s *LoggingService) Stop() error
Constants ¶
View Source
const LoggingServiceKey = "monitoring.logging"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingService ¶
type LoggingService struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(k types.IKernel) *LoggingService
func (*LoggingService) GetConfig ¶
func (s *LoggingService) GetConfig(key string) string
func (*LoggingService) GetData ¶
func (s *LoggingService) GetData(key string) interface{}
func (*LoggingService) GetKernel ¶
func (s *LoggingService) GetKernel() types.IKernel
func (*LoggingService) GetLogger ¶
func (s *LoggingService) GetLogger() types.ILogger
func (*LoggingService) GetName ¶
func (s *LoggingService) GetName() string
func (*LoggingService) GetRootLogger ¶
func (s *LoggingService) GetRootLogger() types.ILogger
func (*LoggingService) Init ¶
func (s *LoggingService) Init() error
func (*LoggingService) Register ¶
func (s *LoggingService) Register() error
func (*LoggingService) SetConfig ¶
func (s *LoggingService) SetConfig(key string, value string)
func (*LoggingService) SetData ¶
func (s *LoggingService) SetData(key string, value interface{})
func (*LoggingService) Start ¶
func (s *LoggingService) Start() error
func (*LoggingService) Stop ¶
func (s *LoggingService) Stop() error
Click to show internal directories.
Click to hide internal directories.