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

    }()
}

protocol RoyDefaultLogSystemDelegate {
    
}

class RoyDefaultLogSystem : RoyLogProtocol {
    
    

    var delegate:RoyDefaultLogSystemDelegate?
    var saveToDB = true
    var dbQueue : DatabaseQueue?
    

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