title: How I assert my log message when the log is created by lombok
body: <p>I have the following code:</p>
  
  <pre><code>@Component
  @Slf4j
  public class MyClass {
  
      private OtherClass otherClass;
  
      @Autowired
      public MyClass(OtherClass otherClass) {
          this.otherClass = otherClass;
      }
  
      public void start() {
          try {
              otherClass.execute();
          } catch (FeatureException exception) {
              log.warn(exception.getMessage());
          }
      }
  </code></pre>
  
  <p>I want do test to verify the log message.
  I dont know how.</p>
  
  <p>Thanks</p>