     }()
 }
 
-protocol RoyDefaultLogSystemDelegate {
-    
-}
 
 class RoyDefaultLogSystem : RoyLogProtocol {
-    
-    
 
-    var delegate:RoyDefaultLogSystemDelegate?
+    var delegate:RoyLogProtocol?
     var saveToDB = true
     var dbQueue : DatabaseQueue?
     

                print("roy logsystem save log to db error")
            }
        }
    }
    
    func addRouteLog(withURL url:String,url_rule:String?,message:String?,errorType:RoyLogErrorType) {

                print("roy logsystem save log to db error")
            }
        }
        self.delegate?.addRouteLog(withURL: url, url_rule: url_rule, message: message, errorType: errorType)
    }
    
}
