com.sap.cloud.sdk.service.csn2jpa.issuecollector.IssueLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of csn-reader Show documentation
Show all versions of csn-reader Show documentation
API for reading CDS models in CSN format
/*******************************************************************************
* * © 2018 SAP SE or an SAP affiliate company. All rights reserved. *
******************************************************************************/
package com.sap.cloud.sdk.service.csn2jpa.issuecollector;
import java.util.function.Consumer;
import org.slf4j.Logger;
public class IssueLogger implements Consumer {
private final Logger logger;
public IssueLogger(Logger logger) {
this.logger = logger;
}
@Override
public void accept(Issue issue) {
logger.info("[{}] {} : {}", issue.getType(), issue.getLocation(), issue.getMessage());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy