0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-04 06:38:58 +02:00

ircd::mods: Make log messages more consistent.

This commit is contained in:
Jason Volk 2016-11-13 16:25:23 -08:00
parent 8554fc858b
commit 070771f49b

View file

@ -174,7 +174,7 @@ try
};
auto mod(std::make_unique<struct mod>(fullpath, flags));
log.info("Opened module '%s' @ `%s' version: %u",
log.info("Opened '%s' @ `%s' version: %u",
mods::name(*mod).c_str(),
fullpath.string().c_str(),
version(*mod));
@ -230,7 +230,7 @@ ircd::mods::unload(const std::string name)
log.error("Module \"%s\" is stuck and failing to unload.", name.c_str());
log.warning("Module \"%s\" may result in undefined behavior if not fixed.", name.c_str());
} else {
log.info("Module '%s' unloaded", filename.c_str());
log.info("Unloaded '%s'", filename.c_str());
}
return true;