* @param password Service's password.
* @param actual_ip Service's actual_ip.
* @param lastupdated Service's lastupdated.
+ * @param activated Service's activated.
*/
-void Logger::print_service_object(const string& message, const string& protocol, const string& hostname, const string& login, const string& password, const int update_interval, const int max_updates_within_interval, const int max_equal_updates_in_succession, const int dns_cache_ttl , const string& actual_ip, std::map<time_t,std::string> lastupdated) const
+void Logger::print_service_object(const string& message, const string& protocol, const string& hostname, const string& login, const string& password, const int update_interval, const int max_updates_within_interval, const int max_equal_updates_in_succession, const int dns_cache_ttl , const string& actual_ip, std::map<time_t,std::string> lastupdated, const bool activated) const
{
int level = 1;
if ( level <= Loglevel )
{
msg << "\t" << "Lastupdated: " << r_iter->first << " -> " << r_iter->second << endl;
}
+ msg << "\t" << "Activated: " << activated << endl;
log_notice(msg.str());
}
}