title: Swift: Extending functionality of print() function
body: <p>Is it possible to extend the functionality of a Swift function? I would like appnd a single character onto every print() function in my program without having to create a brand new function and renaming every instance of print(). Is it possible to create an extension that will append an '*' onto every print instance?</p>
  
  <p>The purpose of this is to create a way of flushing out all of the extra information that XCODE adds into the debugger. I am using print statements to check on the progress and success of different parts of my code, but XCODE fills in thousands of lines of excess info in seconds that quickly cover up my specific statements.</p>
  
  <p>What I want to do:</p>
  
  <pre><code>print("Hello world!")
  //Psuedo code:
  Extension print(text: String) {
      let newText = "*\(text)"
      return newText
  }
  </code></pre>
  
  <p>Output:
      *Hello World!</p>
  
  <p>I will then filter the Xcode debugging output for asterisks. I have been doing this manually </p>