1 package org.jzonic.jlo; 2 3 import org.jzonic.jlo.filter.LogFilter; 4 import org.jzonic.jlo.formatter.Formatter; 5 import org.jzonic.jlo.handler.Handler; 6 15 public class LogGenerator { 16 17 private Handler handler; 18 private Formatter formatter; 19 private String name; 20 private LogFilter filter; 22 23 24 public LogGenerator(String name,Handler handler,Formatter formatter) { 25 this.name = name; 26 this.handler = handler; 27 this.formatter = formatter; 28 } 29 30 35 public Handler getHandler() { 36 return handler; 37 } 38 39 44 public Formatter getFormatter() { 45 return formatter; 46 } 47 48 53 public String getName() { 54 return name; 55 } 56 57 62 public LogFilter getFilter() { 63 return filter; 64 } 65 66 71 public void setFilter(LogFilter filter) { 72 this.filter = filter; 73 } 74 75 } 76 | Popular Tags |