 
   public override func doCommand(by aSelector: Selector) {
     if self.responds(to: aSelector) {
-      stdoutLogger.debug("calling \(aSelector)")
+      logger.debug("calling \(aSelector)")
       self.perform(aSelector, with: self)
 
       self.keyDownDone = true
       return
     }
 
-    stdoutLogger.debug("\(aSelector) not implemented, " +
+    logger.debug("\(aSelector) not implemented, " +
                          "forwarding input to neovim")
     self.keyDownDone = false
   }

  }

  public func insertText(_ object: Any, replacementRange: NSRange) {
    stdoutLogger.debug("\(object) with \(replacementRange)")

    let text: String
    switch object {

      length: marked.count
    )

    logger.debug("Returning \(result)")
    return result
  }

