inline static void
tracker_gsettings_print_verbosity (GSList   *all,
                                   gint      longest,
                                   gboolean  miners)
{
	GSList *l;

	for (l = all; l; l = l->next) {
		ComponentGSettings *c;
		TrackerVerbosity v;

		c = l->data;

		if (c->is_miner == miners) {
			continue;
		}

		v = g_settings_get_enum (c->settings, "verbosity");

		g_print ("  %-*.*s: %s\n",
		         longest,
		         longest,
		         c->name,
		         verbosity_to_string (v));
	}
}
Beispiel #2
0
 /*!
  *  \brief Display information concerning the executable format: where sections begin, entry point, etc.
  *
  *  \param lvl: Set a verbosity level
  */
 virtual void display_information(const VerbosityLevel lvl) const
 {
     std::cout << "Verbose level: " << verbosity_to_string(lvl) << std::endl;
 }