package org.apereo.cas.web.landtool.log.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * @author Tanbin * @date 2018-12-12 */ @Component @ConfigurationProperties(prefix = "landtool.log") public class LogProperties { private boolean enabled = false; private String logServiceUrl; public boolean isEnabled() { return enabled; } public void setEnabled(boolean enabled) { this.enabled = enabled; } public String getLogServiceUrl() { return logServiceUrl; } public void setLogServiceUrl(String logServiceUrl) { this.logServiceUrl = logServiceUrl; } }