/**
* Show a notice when the money API is found
*
* @param PluginBase $plugin - current plugin
* @param PluginBase $api - found plugin
* @param LogLevel $level - optional log level
*/
public static function foundMoney(PluginBase $plugin, $api, $level = LogLevel::INFO)
{
if (class_exists(__NAMESPACE__ . "\\mc", false)) {
$plugin->getLogger()->log($level, TextFormat::BLUE . mc::_("Using money API from %1%", $api->getFullName()));
} else {
$plugin->getLogger()->log($level, TextFormat::BLUE . "Using money API from " . $api->getFullName());
}
}