Logic is the subdivision of philosophy that seeks to determine what?

Logic is the subdivision of philosophy that seeks to determine what?