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

com.fastchar.slf4j.log4j2.provider.Log4jSplitInfo Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version
package com.fastchar.slf4j.log4j2.provider;

/**
 * @author 沈建(Janesen)
 * @date 2021/12/25 16:57
 */
public class Log4jSplitInfo {

    private String fileName;
    private String logPattern;
    private int logFileMaxSize;
    private String level = "debug";

    public int getLogFileMaxSize() {
        return logFileMaxSize;
    }

    public Log4jSplitInfo setLogFileMaxSize(int logFileMaxSize) {
        this.logFileMaxSize = logFileMaxSize;
        return this;
    }

    public String getFileName() {
        return fileName;
    }

    public Log4jSplitInfo setFileName(String fileName) {
        this.fileName = fileName;
        return this;
    }

    public String getLogPattern() {
        return logPattern;
    }

    public Log4jSplitInfo setLogPattern(String logPattern) {
        this.logPattern = logPattern;
        return this;
    }

    public String getLevel() {
        return level;
    }

    public Log4jSplitInfo setLevel(String level) {
        this.level = level;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy