<dependencies>
<dependency>
<groupId>com.github.lumberjackdev</groupId>
<artifactId>lumberjack</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
package com.example.mylibrary;
import com.github.lumberjackdev.annotations.Loggable;
@Loggable
public class MyLibrary {
public void performAction() {
}
}
properties
lumberjack.logger=console
lumberjack.level=INFO
package com.example.myproject;
import com.example.mylibrary.MyLibrary;
public class MyApp {
public static void main(String[] args) {
MyLibrary myLibrary = new MyLibrary();
myLibrary.performAction();
}
}