actually use capture list

This commit is contained in:
Erik 2015-04-20 15:18:08 -04:00
parent 1753707bf8
commit e33309827f

View File

@ -48,7 +48,7 @@ final class SocketLogger {
}
dispatch_async(printQueue) {[type = client.logType] in
NSLog("ERROR %@: %@", altType ?? client.logType, message)
NSLog("ERROR %@: %@", altType ?? type, message)
}
}
}