public PulsarLogConfig getPulsarLogConfig() {
        return Optional.ofNullable(pulsarLogConfig).orElse(new PulsarLogConfig());
    }
get global log config.

@return global log config
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-pulsar/src/main/java/org/apache/shenyu/plugin/logging/pulsar/config/PulsarLogCollectConfig.java