Ch. 26, Property Wrapper, Bronze Challenge

Bronze challenge, my solution (please review my code):

@propertyWrapper struct Logged {
  
  private var storage: Int
  
  var wrappedValue: Int {
    get {
      return storage
    }
    set {
      
      if newValue < warningValue {
        let result = max(newValue, 0)
        print("Warning!!! New value \(result) is lower than warningValue: \(warningValue)")
      } else {
        print("Population changed, old value: \(storage), newValue: \(newValue)")
      }
      
      storage = max(newValue, 0)
    }
  }
  var warningValue: Int
  
  init(wrappedValue: Int, warningValue: Int) {
    storage = wrappedValue
    self.warningValue = warningValue
  }
}