summaryrefslogtreecommitdiffstats
path: root/cmd/binapi-generator/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/binapi-generator/types.go')
-rw-r--r--cmd/binapi-generator/types.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/binapi-generator/types.go b/cmd/binapi-generator/types.go
index d056251..90c890f 100644
--- a/cmd/binapi-generator/types.go
+++ b/cmd/binapi-generator/types.go
@@ -18,6 +18,8 @@ import (
"fmt"
"strconv"
"strings"
+
+ "github.com/sirupsen/logrus"
)
// toApiType returns name that is used as type reference in VPP binary API
@@ -62,7 +64,7 @@ func convertToGoType(ctx *context, binapiType string) (typ string) {
typ = binapiType
default:
// fallback type
- log.Warnf("found unknown VPP binary API type %q, using byte", binapiType)
+ logrus.Warnf("found unknown VPP binary API type %q, using byte", binapiType)
typ = "byte"
}
}