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

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

@Slf4j
public class LogExampleOther {
	
	public static void main(String... args) {
		log.error("Something else is wrong here");
	}
}