       XCTAssertEqual(last.containsString(" \(level): "), condition, "Incorrect level")
       XCTAssertEqual(last.containsString(type), condition, "Incorrect message")
       XCTAssertEqual(last.containsString(" SloggerTests.swift:"), condition, "Incorrect file")
-      XCTAssertEqual(last.containsString(" callIt"), condition, "Incorrect function")
+      XCTAssertEqual(last.containsString(" \(function)"), condition, "Incorrect function")
       if category == nil {
         XCTAssertEqual(last.containsString(" [] "), condition, "Incorrect function")
       } else {

    log.misses = 0
    log.destinations = destinations

    func checkForType (type: String, _ condition: Bool, _ category: TestCategory?, _ level: Level) {
      guard checkResults && log.canLogWithOverride(condition, category: category, level: level) else {
        return
      }


  func testConsole () {
    self.measureBlock() {
      self.exhaustiveTestWithDestinations([self.log.consoleDestination], checkResults: false)
    }
  }

  func testNoConsole () {
    self.measureBlock() {
      testDestination.clear()
      self.exhaustiveTestWithDestinations([testDestination], checkResults: true)
    }
  }
