com.ps.s4l.model.LoggingDetail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of splunk4logback Show documentation
Show all versions of splunk4logback Show documentation
Controls runtime logging levels via a splunk app
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