From 02a20b53081e18c3a3d884cde6db81eddfdf55ed Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Tue, 11 Sep 2018 10:48:55 +0200 Subject: [PATCH] Indent TunnelKitProvider.Configuration log Gives more context. --- .../TunnelKitProvider+Configuration.swift | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/TunnelKit/Sources/AppExtension/TunnelKitProvider+Configuration.swift b/TunnelKit/Sources/AppExtension/TunnelKitProvider+Configuration.swift index 9bb5e23..d0d9ef0 100644 --- a/TunnelKit/Sources/AppExtension/TunnelKitProvider+Configuration.swift +++ b/TunnelKit/Sources/AppExtension/TunnelKitProvider+Configuration.swift @@ -510,33 +510,33 @@ extension TunnelKitProvider { log.info("App version: \(appVersion)") } -// log.info("Address: \(endpoint.hostname):\(endpoint.port)") - log.info("Protocols: \(endpointProtocols)") - log.info("Cipher: \(cipher.rawValue)") - log.info("Digest: \(digest.rawValue)") +// log.info("\tAddress: \(endpoint.hostname):\(endpoint.port)") + log.info("\tProtocols: \(endpointProtocols)") + log.info("\tCipher: \(cipher)") + log.info("\tDigest: \(digest)") if let _ = ca { - log.info("CA verification: enabled") + log.info("\tCA verification: enabled") } else { - log.info("CA verification: disabled") + log.info("\tCA verification: disabled") } if let _ = clientCertificate { - log.info("Client verification: enabled") + log.info("\tClient verification: enabled") } else { - log.info("Client verification: disabled") + log.info("\tClient verification: disabled") } - log.info("MTU: \(mtu)") - log.info("Compression framing: \(compressionFraming)") + log.info("\tMTU: \(mtu)") + log.info("\tCompression framing: \(compressionFraming)") if let keepAliveSeconds = keepAliveSeconds { - log.info("Keep-alive: \(keepAliveSeconds) seconds") + log.info("\tKeep-alive: \(keepAliveSeconds) seconds") } else { - log.info("Keep-alive: default") + log.info("\tKeep-alive: default") } if let renegotiatesAfterSeconds = renegotiatesAfterSeconds { - log.info("Renegotiation: \(renegotiatesAfterSeconds) seconds") + log.info("\tRenegotiation: \(renegotiatesAfterSeconds) seconds") } else { - log.info("Renegotiation: never") + log.info("\tRenegotiation: never") } - log.info("Debug: \(shouldDebug)") + log.info("\tDebug: \(shouldDebug)") } } }