@Override
                public void sendMessage(Component message) {
                    for (Component line : AbstractSender.splitNewlines(TranslationManager.render(message))) {
                        LPSpongePlugin.this.bootstrap.getPluginLogger().info(PlainTextComponentSerializer.plainText().serialize(line));
                    }
                }
LuckPerms implementation for the Sponge API.
sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java