apoc.log.Logging Maven / Gradle / Ivy
package apoc.log;
import apoc.Extended;
import apoc.ExtendedApocConfig;
import org.neo4j.logging.Log;
import org.neo4j.procedure.Context;
import org.neo4j.procedure.Description;
import org.neo4j.procedure.Name;
import org.neo4j.procedure.Procedure;
import java.util.List;
import java.util.function.Consumer;
/**
* @author bradnussbaum
* @since 2017.07.28
*/
@Extended
public class Logging {
@Context
public Log log;
@Context
public ExtendedApocConfig extendedApocConfig;
@Procedure
@Description("apoc.log.error(message, params) - logs error message")
public void error(@Name("message") String message,
@Name(value = "params", defaultValue = "[]") List