mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-10 21:38:04 -05:00
Simplify logging output
This commit is contained in:
parent
83c1796cf9
commit
761a700db0
@ -107,7 +107,7 @@ public final class Logging {
|
||||
return () -> getMessage(null, t);
|
||||
}
|
||||
|
||||
public static Supplier<String> cause(Object... elements) {
|
||||
public static Supplier<String> message(Object... elements) {
|
||||
return () -> getMessage(elements);
|
||||
}
|
||||
|
||||
|
@ -78,9 +78,9 @@ public class XattrMetaInfo {
|
||||
// make file writable if necessary
|
||||
if (!f.canWrite()) {
|
||||
if (f.setWritable(true)) {
|
||||
debug.fine(cause("Grant write permissions", f));
|
||||
debug.fine(message("Grant write permissions", f));
|
||||
} else {
|
||||
debug.warning(cause("Failed to grant write permissions", f));
|
||||
debug.warning(message("Failed to grant write permissions", f));
|
||||
}
|
||||
}
|
||||
return f;
|
||||
|
Loading…
Reference in New Issue
Block a user