Skip to content

Commit

Permalink
fixed network info logging
Browse files Browse the repository at this point in the history
  • Loading branch information
D0miH committed Oct 5, 2020
1 parent 7dcff40 commit 34ee73c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iGlance/iGlance/iGlance/SystemInfo/NetworkInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ class NetworkInfo {
return (up: 0, down: 0)
}

DDLogInfo("Output of network bandwidth command: \n\(commandOutput)")

// split the lines of the output
let lowerCaseOutput = commandOutput.lowercased()
let lines = lowerCaseOutput.split(separator: "\n")
Expand Down Expand Up @@ -113,6 +111,8 @@ class NetworkInfo {
return "en0"
}

DDLogInfo("Output of the network interface command: \n\(commandOutput)")

// get the interface name
let interfaceName = commandOutput.trimmingCharacters(in: .whitespacesAndNewlines)

Expand Down

0 comments on commit 34ee73c

Please sign in to comment.