title: aspects.jcabi: @Loggable doesn't add logs to the output
body: <p>I am bored of adding manual logs for debugging each and every method that I write. </p>
  
  <p>I came to know about <code>@Loggable</code> annotation of <a href="http://aspects.jcabi.com/annotation-loggable.html" rel="nofollow noreferrer">jcabi</a> but am not successful in implementing that and your help is highly appreciated.</p>
  
  <p>Below is the code that I have tried.</p>
  
  <pre><code>import com.jcabi.aspects.Loggable;
  import lombok.extern.slf4j.Slf4j;
  
  @Slf4j
  public class Jcabi {
  
      @Loggable
      private static String checkJcabi(String stringToPrint) {
          log.info("Print Successfull");
          return stringToPrint;
      }
  
      public static void main(String[] args) {
          checkJcabi("Hello World!");
      }
  
  }
  </code></pre>
  
  <p>IDE console prints this:</p>
  
  <pre><code>[main] INFO com.amazon.optimus.cpamutil.utils.Jcabi - Print Successfull
  </code></pre>
  
  <p>This is the log for the <code>log.info()</code> I have added in the method and there is no log for the <code>@Loggable</code> annotation something like this (below) as mentioned in this <a href="http://www.yegor256.com/2014/06/01/aop-aspectj-java-method-logging.html" rel="nofollow noreferrer">post</a></p>
  
  <pre><code>[INFO] com.example.Foo #power(2, 10): 1024 in 12μs
  [INFO] com.example.Foo #power(3, 3): 27 in 4μs
  </code></pre>
  
  <p>Below are the dependencies packages that I use:</p>
  
  <p>JCabiAspects = 1.0;<br>
  AspectJ = 6.0;<br>
  Slf4j = 1.7;<br>
  Slf4j_Simple = 1.7;</p>
  
  <p>Let me know if you need more details. Thanks.</p>