class MailetPipelineLogging {

    @VisibleForTesting
    static String getMailetInfo(Mailet mailet) {
        return Optional.ofNullable(Strings.emptyToNull(mailet.getMailetInfo()))
                    .orElse(mailet.getClass().getSimpleName());
    }

}