forked from core/mobile_nebula
Add logLocalTZ to Site.swift
This commit is contained in:
parent
affdc8a7bb
commit
12e146fff2
|
@ -150,6 +150,7 @@ struct Site: Codable {
|
|||
var mtu: Int
|
||||
var cipher: String
|
||||
var sortKey: Int
|
||||
var logLocalTZ: Bool?
|
||||
var logVerbosity: String
|
||||
var connected: Bool?
|
||||
var status: String?
|
||||
|
@ -238,6 +239,7 @@ struct Site: Codable {
|
|||
port = incoming.port
|
||||
cipher = incoming.cipher
|
||||
sortKey = incoming.sortKey ?? 0
|
||||
logLocalTZ = incoming.logLocalTZ ?? false
|
||||
logVerbosity = incoming.logVerbosity ?? "info"
|
||||
mtu = incoming.mtu ?? 1300
|
||||
logFile = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.net.defined.mobileNebula")?.appendingPathComponent(id).appendingPathExtension("log").path
|
||||
|
@ -284,6 +286,7 @@ struct Site: Codable {
|
|||
case status
|
||||
case logFile
|
||||
case unsafeRoutes
|
||||
case logLocalTZ
|
||||
case logVerbosity
|
||||
case errors
|
||||
case mtu
|
||||
|
@ -314,6 +317,7 @@ struct IncomingSite: Codable {
|
|||
var mtu: Int?
|
||||
var cipher: String
|
||||
var sortKey: Int?
|
||||
var logLocalTZ: Bool?
|
||||
var logVerbosity: String?
|
||||
var key: String?
|
||||
|
||||
|
|
|
@ -109,4 +109,4 @@ SPEC CHECKSUMS:
|
|||
|
||||
PODFILE CHECKSUM: e8d4fb1ed5b0713de2623a28dfae2585e15c0d00
|
||||
|
||||
COCOAPODS: 1.9.0
|
||||
COCOAPODS: 1.10.0
|
||||
|
|
Loading…
Reference in New Issue