   }
 
   public func insertText(_ object: Any, replacementRange: NSRange) {
-    stdoutLogger.debug("\(object) with \(replacementRange)")
+    logger.debug("\(object) with \(replacementRange)")
 
     let text: String
     switch object {

    let position = self.position(at: aPoint)
    let result = self.ugrid.flatCharIndex(forPosition: position)

    stdoutLogger.debug("\(aPoint) -> \(position) -> \(result)")

    return result
  }

      length: marked.count
    )

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

