Is it possible to measure and log temperature using a microphone port of PC?
I would recommend using a voltage to frequency converter. The soundcard input is AC-coupled, so it can't measure DC, but is good for frequency measurement (that what it is mainly designed for). Just google "voltage to frequency converter" and you will find many chips that can do this task.