Moved logError() and logInfo() to utils package