public void logTrigger(TriggerContext triggerContext, Logger logger, Level level, String message, Object... args) {
        String finalMsg = tenantEnabled ? TRIGGER_PREFIX_WITH_TENANT + message : TRIGGER_PREFIX_NO_TENANT + message;
        Object[] executionArgs = tenantEnabled ?
            new Object[] { triggerContext.getTenantId(), triggerContext.getNamespace(), triggerContext.getFlowId(), triggerContext.getTriggerId() } :
            new Object[] { triggerContext.getNamespace(), triggerContext.getFlowId(), triggerContext.getTriggerId() };
        Object[] finalArgs = ArrayUtils.addAll(executionArgs, args);
        logger.atLevel(level).log(finalMsg, finalArgs);
    }
@Test
    void logTrigger() {
        var trigger = TriggerContext.builder().namespace("namespace").flowId("flow").triggerId("trigger").build();
        logService.logTrigger(trigger, log, Level.INFO, "Some log");
        logService.logTrigger(trigger, log, Level.INFO, "Some log with an {}", "attribute");
    }