diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 11:12:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 11:12:10 -0600 |
| commit | f6f5bdba4e982595ad1c12041d39f75e11792ef8 (patch) | |
| tree | 89c5c4856fcec28bb28fe0be4a4706559b6a3979 /linuxstatus/linuxloop.go | |
| parent | c59247824f22cf62b1625f5eeea11b809374d7a0 (diff) | |
stepping through init on a window with state
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'linuxstatus/linuxloop.go')
| -rw-r--r-- | linuxstatus/linuxloop.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxstatus/linuxloop.go b/linuxstatus/linuxloop.go index fbbe653..1981aa2 100644 --- a/linuxstatus/linuxloop.go +++ b/linuxstatus/linuxloop.go @@ -15,7 +15,7 @@ import ( func linuxLoop() { me.changed = false duration := timeFunction(getHostname) - log.Info("getHostname() execution Time: ", duration, "me.changed =", me.changed) + log.Log(INFO, "getHostname() execution Time: ", duration, "me.changed =", me.changed) duration = timeFunction(scanInterfaces) log.Log(NET, "scanInterfaces() execution Time: ", duration) @@ -33,7 +33,7 @@ func linuxLoop() { // me.IPv6.SetText(all) user, _ := user.Current() - log.Println("os.Getuid =", user.Username, os.Getuid()) + log.Log(INFO, "os.Getuid =", user.Username, os.Getuid()) if (me.uid != nil) { me.uid.Set(user.Username + " (" + strconv.Itoa(os.Getuid()) + ")") } |
