Browse Source

Polish "Upgrade to Neo4j Java Driver 4.2.8"

See gh-28717
pull/28778/head
Stephane Nicoll 4 years ago
parent
commit
7fbb9d471b
  1. 9
      spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/neo4j/Neo4jSpringJclLogging.java

9
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/neo4j/Neo4jSpringJclLogging.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -80,6 +80,13 @@ class Neo4jSpringJclLogging implements Logging { @@ -80,6 +80,13 @@ class Neo4jSpringJclLogging implements Logging {
}
}
@Override
public void debug(String message, Throwable throwable) {
if (isDebugEnabled()) {
this.delegate.debug(message, throwable);
}
}
@Override
public void trace(String format, Object... params) {
if (isTraceEnabled()) {

Loading…
Cancel
Save