From 9d8cbae864d7192bcc2eb63e7bb3762f9f5407da Mon Sep 17 00:00:00 2001 From: Sabby Anandan Date: Fri, 14 Aug 2020 11:35:09 -0700 Subject: [PATCH] Change function name --- .../main/java/com/springone/brakelogs/BrakeLogsApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brake-logs/src/main/java/com/springone/brakelogs/BrakeLogsApplication.java b/brake-logs/src/main/java/com/springone/brakelogs/BrakeLogsApplication.java index dc302fd..96a5664 100644 --- a/brake-logs/src/main/java/com/springone/brakelogs/BrakeLogsApplication.java +++ b/brake-logs/src/main/java/com/springone/brakelogs/BrakeLogsApplication.java @@ -14,7 +14,7 @@ public static void main(String[] args) { } @Bean - public Consumer process() { + public Consumer log() { return result -> System.out.println(result); } }