mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 08:21:35 +00:00
16 lines
462 B
Plaintext
16 lines
462 B
Plaintext
public class LogExample {
|
|
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LogExample.class.getName());
|
|
|
|
public static void main(String... args) {
|
|
log.error("Something's wrong here");
|
|
}
|
|
}
|
|
|
|
public class LogExampleOther {
|
|
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LogExampleOther.class);
|
|
|
|
public static void main(String... args) {
|
|
log.error("Something else is wrong here");
|
|
}
|
|
}
|