Skip to content

Commit

Permalink
Update GreetingServiceWithoutAOP.java
Browse files Browse the repository at this point in the history
  • Loading branch information
apeterlic committed Feb 17, 2024
1 parent ff272d2 commit c96bfc1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ public class GreetingServiceWithoutAOP {
private static final Logger logger = LoggerFactory.getLogger(GreetingServiceWithoutAOP.class);

public String greet(String name) {
logger.info(">> greet() - {}", name);
logger.debug(">> greet() - {}", name);
String result = String.format("Hello %s", name);
logger.info("<< greet() - {}", result);
logger.debug("<< greet() - {}", result);
return result;
}
}

0 comments on commit c96bfc1

Please sign in to comment.