Skip to content

Commit 84f62af

Browse files
stefano-ottolenghiinjectives
authored andcommitted
Fix inline logging example (neo4j#1523)
1 parent 8ade26b commit 84f62af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/src/main/java/org/neo4j/driver/Logging.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
* Example of driver configuration with SLF4J logging:
7474
* <pre>
7575
* {@code
76-
* Driver driver = GraphDatabase.driver("bolt://localhost:7687",
76+
* Driver driver = GraphDatabase.driver("neo4j://localhost:7687",
7777
* AuthTokens.basic("neo4j", "password"),
78-
* Config.build().withLogging(Logging.slf4j()).toConfig());
78+
* Config.builder().withLogging(Logging.slf4j()).build());
7979
* }
8080
* </pre>
8181
*

0 commit comments

Comments
 (0)