- /**
- * @author s.tihomirov
- * java.util.logging.LogRecord with attached files
- */
- public static class LogRecWithAttach extends LogRecord {
- private File attached;
- private static final long serialVersionUID = 1L;
- public LogRecWithAttach(Level level, String msg) {
- super(level, msg);
- }
- private void setAttachment(File attached)
- {
- this.attached = attached;
- }
- public File getAttachedFile()
- {
- return attached;
- }
- }