     
     private func nosub(id: String, error: DDPError?) {
         if let e = error where (e.isValid == true) {
-            print(e)
+            log.error("\(e)")
         } else {
             if let completion = unsubCallbacks[id],
                 let _ = subscriptions[id] {

    }
    
    private func sendMessage(message:NSDictionary) {
        print("sendMessage message: \(message)")
        if let m = message.stringValue() {
            self.socket.send(m)
        }

    internal override init() {
        super.init()
        setLogLevel(logLevel)
    }
    
    /**
