diff options
| author | Jeff Carr <[email protected]> | 2024-01-03 19:33:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-03 19:33:13 -0600 |
| commit | c420145c2eafd68f5e73b3ccadb8f442ecc878bf (patch) | |
| tree | 6a518e2f8fa179a46980b2dbbec9b1575886e0e8 /rtnetlink.go | |
| parent | 3be643036f81c364bda7d5b7502da2932a54a608 (diff) | |
use 'go.wit.com/log'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'rtnetlink.go')
| -rw-r--r-- | rtnetlink.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtnetlink.go b/rtnetlink.go index d4449c0..29f1153 100644 --- a/rtnetlink.go +++ b/rtnetlink.go @@ -1,8 +1,8 @@ package main import ( - "log" "github.com/jsimonetti/rtnetlink" + "go.wit.com/log" ) // List all interfaces @@ -10,7 +10,7 @@ func Example_listLink() { // Dial a connection to the rtnetlink socket conn, err := rtnetlink.Dial(nil) if err != nil { - debug(LogError, "Example_listLink() failed", err) + log.Error(err, "Example_listLink() failed") return } defer conn.Close() |
