logging: bypass timestamp formatting when not logging
logging: bypass timestamp formatting when not logging

This leads to massive speedups under Wine.

chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin