Improving logs
Change-Id: I75021b47851b3af946dc3a9b41a516934b4b2e3a
diff --git a/omci_state.go b/omci_state.go
index 6af433f..34d5b5e 100644
--- a/omci_state.go
+++ b/omci_state.go
@@ -18,6 +18,7 @@
import (
"errors"
"fmt"
+ log "github.com/sirupsen/logrus"
)
type OnuOmciState struct {
@@ -78,3 +79,8 @@
errmsg := fmt.Sprintf("ONU {intfid:%d, onuid:%d} - Failed to find a key in OnuOmciStateMap", intfId, onuId)
return 0, errors.New(errmsg)
}
+
+func CheckIsTeo() string {
+ log.Warn("It's TEO!")
+ return "It's TEO!"
+}