logError method in log module