RLPark 1.0.0
Reinforcement Learning Framework in Java
|
00001 package zephyr.plugin.core.api.internal.monitoring.fileloggers; 00002 00003 import java.io.IOException; 00004 import java.io.StringWriter; 00005 00006 public class TimedFileLogger extends FileLogger { 00007 public TimedFileLogger(String filepath) throws IOException { 00008 this(filepath, false); 00009 } 00010 00011 public TimedFileLogger(StringWriter writer) { 00012 super(writer, false); 00013 } 00014 00015 public TimedFileLogger(String filepath, boolean temporaryFile) throws IOException { 00016 super(filepath, true, temporaryFile); 00017 } 00018 00019 public void update() { 00020 update(System.currentTimeMillis()); 00021 } 00022 }