mirror of
https://github.com/google/nomulus
synced 2026-01-08 23:23:32 +00:00
Add fine level logging methods
We currently only have one method for fine level logging. Add another three so that fine level logging can be called just like other levels. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=158760803
This commit is contained in:
@@ -49,10 +49,22 @@ public class FormattingLogger {
|
||||
}
|
||||
}
|
||||
|
||||
public void fine(String msg) {
|
||||
log(Level.FINE, null, msg);
|
||||
}
|
||||
|
||||
public void fine(Throwable cause, String msg) {
|
||||
log(Level.FINE, cause, msg);
|
||||
}
|
||||
|
||||
public void finefmt(String fmt, Object... args) {
|
||||
log(Level.FINE, null, String.format(fmt, args));
|
||||
}
|
||||
|
||||
public void finefmt(Throwable cause, String fmt, Object... args) {
|
||||
log(Level.FINE, cause, String.format(fmt, args));
|
||||
}
|
||||
|
||||
public void info(String msg) {
|
||||
log(Level.INFO, null, msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user