public static void end(String msg, Object... args) {
        if (!SystemPropertyUtils.isEnablePeriod()) {
            return;
        }
        Period period = TL.get();
        if (period == null) {
            throw new IllegalStateException("please start first");
        }
        long mills = SystemClock.now() - period.start;
        TL.remove();
        LOGGER.warn("[Period]" + msg + ", mills:{}", args, mills);
    }
@author Robert HG (254963746@qq.com) on 11/1/16.
lts-core/src/main/java/com/github/ltsopensource/core/commons/utils/PeriodUtils.java