All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.openservices.ons.api.exactlyonce.manager.util.LogUtil Maven / Gradle / Ivy

There is a newer version: 1.9.3.Final
Show newest version
package com.aliyun.openservices.ons.api.exactlyonce.manager.util;

import com.aliyun.openservices.shade.com.alibaba.rocketmq.logging.InternalLogger;

import com.aliyun.openservices.ons.api.exactlyonce.TxConstant;

/**
 * @author gongshi
 */
public class LogUtil {

    public static void debug(final InternalLogger logger, String var1) {
        logger.debug(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString());
    }

    public static void debug(InternalLogger logger, String var1, Object var2) {
        logger.debug(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void debug(InternalLogger logger, String var1, Object var2, Object var3) {
        logger.debug(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2, var3);
    }

    public static void debug(InternalLogger logger, String var1, Object... var2) {
        logger.debug(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void debug(InternalLogger logger, String var1, Throwable var2) {
        logger.debug(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void info(InternalLogger logger, String var1) {
        logger.info(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var1);
    }

    public static void info(InternalLogger logger, String var1, Object var2) {
        logger.info(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void info(InternalLogger logger, String var1, Object var2, Object var3) {
        logger.info(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2, var3);
    }

    public static void info(InternalLogger logger, String var1, Object... var2) {
        logger.info(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void info(InternalLogger logger, String var1, Throwable var2) {
        logger.info(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void warn(InternalLogger logger, String var1) {
        logger.warn(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString());
    }

    public static void warn(InternalLogger logger, String var1, Object var2) {
        logger.warn(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void warn(InternalLogger logger, String var1, Object... var2) {
        logger.warn(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void warn(InternalLogger logger, String var1, Object var2, Object var3) {
        logger.warn(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2, var3);
    }

    public static void warn(InternalLogger logger, String var1, Throwable var2) {
        logger.warn(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void error(InternalLogger logger, String var1) {
        logger.error(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString());
    }

    public static void error(InternalLogger logger, String var1, Object var2) {
        logger.error(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void error(InternalLogger logger, String var1, Object var2, Object var3) {
        logger.error(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2, var3);
    }

    public static void error(InternalLogger logger, String var1, Object... var2) {
        logger.error(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }

    public static void error(InternalLogger logger, String var1, Throwable var2) {
        logger.error(new StringBuilder(TxConstant.EXACTLYONCELOG_PREFIX).append(var1).toString(), var2);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy