         }
     }
     
-    private func getWidth(for line: Line) -> CGFloat {
+    private func getWidth(for line: CustomStringConvertible) -> CGFloat {
         let text = line.description
         let maxSize = CGSize(width: CGFloat.greatestFiniteMagnitude, height: settings.rowHeight)
         let options = NSStringDrawingOptions.usesLineFragmentOrigin

        return view
    }
    
    fileprivate func calculateContentWidth(for line: Line) {
        let calculatedLineWidth = getWidth(for: line)
        if calculatedLineWidth > contentWidth {
            contentWidth = calculatedLineWidth
        }
    }
    
    fileprivate func updateFilteredLines(with line: Line) {
        if isFilterActive {
            guard let filter = filterText else { return }
            if line.description.contains(filter) {

        console.textField.delegate = self
    }
    
    internal func addLogLine(_ line: CustomStringConvertible) {
        calculateContentWidth(for: line)
        updateFilteredLines(with: line)
        lines.append(line)
