Add
org.apache.logging.log4j.core.util.WatchManager.FileMonitor.toString()
for debugging.
@@ -118,6 +118,11 @@ public class WatchManager extends AbstractLifeCycle {
this.fileWatcher = fileWatcher;
this.lastModifiedMillis = lastModifiedMillis;
}
+
+ @Override
+ public String toString() {
+ return "FileMonitor [fileWatcher=" + fileWatcher + ", lastModifiedMillis=" + lastModifiedMillis + "]";
+ }
}
@Override
