Added logClear