1 18 19 package de.gulden.framework.amoda.generic.core; 20 21 import de.gulden.framework.amoda.generic.metadata.*; 22 import de.gulden.framework.amoda.generic.option.*; 23 import de.gulden.framework.amoda.model.interaction.*; 24 import de.gulden.framework.amoda.model.interaction.LogMessagePerformer; 25 import java.io.*; 26 import java.util.*; 27 28 34 public class LogFile implements LogMessagePerformer { 35 36 40 protected File file; 41 42 protected int maxFlushCount; 43 44 protected long maxFlushMillisecs; 45 46 47 51 public void open() { 52 } 54 55 public void doLogMessage(LogMessage logMessage) { 56 } 58 59 public void flush() { 60 } 62 63 public void close() { 64 } 66 67 public File getFile() { 68 return file; 69 } 70 71 public void setFile(File _file) { 72 file = _file; 73 } 74 75 public int getMaxFlushCount() { 76 return maxFlushCount; 77 } 78 79 public void setMaxFlushCount(int _maxFlushCount) { 80 maxFlushCount = _maxFlushCount; 81 } 82 83 public long getMaxFlushMillisecs() { 84 return maxFlushMillisecs; 85 } 86 87 public void setMaxFlushMillisecs(long _maxFlushMillisecs) { 88 maxFlushMillisecs = _maxFlushMillisecs; 89 } 90 91 } | Popular Tags |