From 7fbb9d471b51ea2027d67436f9e313e582c3ba5e Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 17 Nov 2021 16:14:25 +0100 Subject: [PATCH] Polish "Upgrade to Neo4j Java Driver 4.2.8" See gh-28717 --- .../boot/autoconfigure/neo4j/Neo4jSpringJclLogging.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/neo4j/Neo4jSpringJclLogging.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/neo4j/Neo4jSpringJclLogging.java index 19fa363f52..c1a5337074 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/neo4j/Neo4jSpringJclLogging.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/neo4j/Neo4jSpringJclLogging.java @@ -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 { } } + @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()) {