mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 00:15:04 +00:00
Fixex #1697: google’s FluentLogger (Flogger) now available as one of lombok’s log annotations.
This commit is contained in:
1 parent
974e80e1de
commit
370705e7e1
19 files changed
+220
-19
No files matched your search
@@ -0,0 +1,30 @@
|
||||
import lombok.extern.flogger.Flogger;
|
||||
@lombok.extern.flogger.Flogger class LoggerFlogger {
|
||||
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
|
||||
<clinit>() {
|
||||
}
|
||||
LoggerFlogger() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@Flogger class LoggerFloggerWithImport {
|
||||
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
|
||||
<clinit>() {
|
||||
}
|
||||
LoggerFloggerWithImport() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
class LoggerFloggerOuter {
|
||||
static @lombok.extern.flogger.Flogger class Inner {
|
||||
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
|
||||
<clinit>() {
|
||||
}
|
||||
Inner() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
LoggerFloggerOuter() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user