Logger fixes; logFlow and logDebug implemented