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 | c1a00fcc1a4cb67d8ba8ae97e90ceed95f73872d (patch) | |
| tree | b16ea631c3f8235a3d1bd2ce5b0109a939a735c5 /rtnetlink.go | |
| parent | 138f72728cbbd10ea3d64888a6482d4c1a21718e (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() |
