Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltinLogger ¶
type BuiltinLogger struct {
// contains filtered or unexported fields
}
func NewBuiltinLogger ¶
func NewBuiltinLogger() *BuiltinLogger
func (BuiltinLogger) Debugf ¶
func (l BuiltinLogger) Debugf(format string, args ...interface{})
func (BuiltinLogger) Errorf ¶
func (l BuiltinLogger) Errorf(format string, args ...interface{})
func (BuiltinLogger) Infof ¶ added in v0.0.6
func (l BuiltinLogger) Infof(format string, args ...interface{})
func (BuiltinLogger) Warnf ¶
func (l BuiltinLogger) Warnf(format string, args ...interface{})
type Logger ¶
type Logger interface { Errorf(format string, v ...interface{}) Infof(format string, v ...interface{}) Warnf(format string, v ...interface{}) Debugf(format string, v ...interface{}) }
Logger supports trace for maximal information, debug for general debug information and error in case of an error.
type StateDevice ¶ added in v0.0.13
type StateDevice interface {
IsOn() bool
}
StateDevice is the base for all "light" devices also for OnOff Sockets
type StateLight ¶ added in v0.0.11
StateLight is the base for all lights
Click to show internal directories.
Click to hide internal directories.