Commit 5fa56a19 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

plugin: remove dump() method from registry

parent 177c18bb
......@@ -51,8 +51,6 @@ public:
getLogger()
{ return loggerGetOrCreate("plugin:registry"); }
static void dump();
static void add(Plugin *p)
{
if (plugins == nullptr)
......
......@@ -100,17 +100,6 @@ Plugin::dump()
logger->info("Name: '{}' Description: '{}'", name, description);
}
void
Registry::dump()
{
auto logger = Registry::getLogger();
logger->info("Registered plugins:");
for(auto p : *plugins) {
logger->info(" - {}", p->getName());
}
}
std::string Plugin::getName()
{
return name;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment