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

com.ps.s4l.model.LoggingDetail Maven / Gradle / Ivy

The newest version!
package com.ps.s4l.model;

/**
 *
 * Holds information to configure logback settings
 */
public class LoggingDetail {

    /**
     * Primary key of the logging detail
     */
    private String keyId;

    /**
     * Used to scope the settings to a particular application.
     * Useful when sharing Splunk with many applications.
     */
    private String appId;

    /**
     * This is the Logger you want to set.
     *
     * ie. Logger Name
     *     root
     *     X
     *     X.Y
     *     X.Y.Z
     */
    private String logger;

    /**
     * The logging level
     *
     * ie. TRACE, DEBUG, INFO, WARN, ERROR
     */
    private String level;


    public LoggingDetail(String keyId, String appId, String logger, String level) {
        this.keyId = keyId;
        this.appId = appId;
        this.logger = logger;
        this.level = level;
    }

    public String getAppId() {
        return appId;
    }

    public String getLogger() {
        return logger;
    }

    public String getLevel() {
        return level;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy