write a Function of logError in error-handingStrategies.js
write a Usage of logError in error-handingStrategies.js