public void updateStatsControl(StatsLevel statsLevel, boolean enableSelfPrint) {
        this.statsLevel = statsLevel;
        this.enableSelfPrint = enableSelfPrint;
    }
Update current statistics control settings
Attention, if statsLevel is ZERO, then printing will be automatically turned off
regardless of the value of enableSelfPrint

@param statsLevel          the statistics level
@param enableSelfPrint     whether to allow the SDK to print by itself
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/common/StatsConfig.java