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

com.github.lianjiatech.retrofit.spring.boot.log.GlobalLogProperty Maven / Gradle / Ivy

There is a newer version: 3.1.3
Show newest version
package com.github.lianjiatech.retrofit.spring.boot.log;

import lombok.Data;

/**
 * 全局日志配置
 * @author 陈添明
 */
@Data
public class GlobalLogProperty {

    /**
     * 是否启用日志
     */
    private boolean enable = true;

    /**
     * 日志打印级别,支持的日志级别参见{@link LogLevel}
     * Log printing level, see {@link LogLevel} for supported log levels
     */
    private LogLevel logLevel = LogLevel.INFO;

    /**
     * 日志打印策略,支持的日志打印策略参见{@link LogStrategy}
     * Log printing strategy, see {@link LogStrategy} for supported log printing strategies
     */
    private LogStrategy logStrategy = LogStrategy.BASIC;

    /**
     * 是否聚合打印请求日志
     */
    private boolean aggregate = true;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy