aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/LogExample_pre.jpage
blob: 7ab64cd4f854c8237b961b34b3cde7a13dffe09f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import lombok.extern.slf4j.Log;

@Log
public class LogExample {
	
	public static void main(String... args) {
		log.error("Something's wrong here");
	}
}

@Log(java.util.List.class)
public class LogExampleOther {
	
	public static void main(String... args) {
		log.warn("Something might be wrong here");
	}
}