title: Use AOP in a Spring Boot app to log methods calls and their parameters
body: <p>Rather than manually writing code such as</p>
  <pre><code>public void someMethod(Object someArg, Object otherArg) {
      logger.trace(&quot;someMethod invoked with arguments {}, {}&quot;, someArg, otherArg);    
  
      // method body
  }
  </code></pre>
  <p>I would like to generate such statements automatically using AOP. The app in question is a Spring Boot 2.3.3 app.</p>
  <p>I don't think it's possible to generate logging statements for <em>all</em> method calls using AOP, only for methods calls on Spring beans. This would be good enough for my current purposes.</p>
  <p>Could someone explain the specific steps for how I add an aspect to a Spring Boot app that will generate a log statement such as the above for all method calls on Spring beans? If only public method calls can be intercepted by the aspect, that would be good enough.</p>