/**
- * A curl error occured.
+ * A curl error occurred.
* @param msg The error message
* @param curl_err_code The resulting curl error code
*/
/**
- * A curl error occured.
+ * A curl error occurred.
* @param url The url requested by the curl operation
* @param curl_err_code The resulting curl error code
*/
/**
- * A curl error occured.
+ * A curl error occurred.
* @param url The url requested by the curl operation
* @param curl_err_code The resulting curl error code
* @param curl_err_buff The curl error buffer
/**
- * An exception occured while computing the md5 sum.
- * @param what The exception occured.
+ * An exception occurred while computing the md5 sum.
+ * @param what The exception occurred.
*/
void Logger::print_exception_md5_sum(const string& what) const
{
if ( level <= Loglevel )
{
ostringstream msg;
- msg << "An exception occured while computing a md5 sum: " << what << endl;
+ msg << "An exception occurred while computing a md5 sum: " << what << endl;
log_error(msg.str());
}
}
/**
- * A network exception occured.
- * @param what The exception occured.
+ * A network exception occurred.
+ * @param what The exception occurred.
*/
void Logger::print_network_error(const string& what) const
{
if ( level <= Loglevel )
{
ostringstream msg;
- msg << "A network exception occured: " << what << endl;
+ msg << "A network exception occurred: " << what << endl;
log_error(msg.str());
}
}
/**
- * An undefined protocol error occured.
+ * An undefined protocol error occurred.
* @param protocol The protocol
* @param error The error
*/
if ( level <= Loglevel )
{
ostringstream msg;
- msg << "An undefined protocol error occured. Protocol: " << protocol << " Error: " << error << endl;
+ msg << "An undefined protocol error occurred. Protocol: " << protocol << " Error: " << error << endl;
log_error(msg.str());
}
}
/**
* Error while parsing config file.
- * @param error Error occured.
+ * @param error Error occurred.
* @param config_file Config file.
*/
void Logger::print_error_parsing_config_file(const string& filename, const string& error) const