LogFormatConstant.java 696 B

123456789101112131415161718192021222324
  1. package com.fdkankan.common.constant;
  2. /**
  3. * <p>
  4. * 日志格式定义
  5. * </p>
  6. *
  7. * @author dengsixing
  8. * @since 2022/3/26
  9. **/
  10. public class LogFormatConstant {
  11. /**
  12. * feign接口日志格式
  13. */
  14. public static String FEIGN_LOG_START = "Feign调用开始 - Class[{}] - Method[{}] - Params[{}]";
  15. public static String FEIGN_LOG_END= "Feign调用结束 - Class[{}] - Method[{}] - Result[{}]";
  16. public static String REQUEST_LOG_START = "Controller请求开始 - ip[{}] - url[{}] - Class[{}] - Method[{}] - Params[{}] - header[{}]";
  17. public static String REQUEST_LOG_END = "Controller请求结束 - url[{}] - Class[{}] - Method[{}] - Result[{}] - consumeTime[{}]";
  18. }