public void addTo(String to) {
if (to == null || to.length() == 0) {
throw new IllegalArgumentException("Null or empty <to> property");
}
PatternLayoutBase plb = makeNewToPatternLayout(to.trim());
plb.setContext(context);
plb.start();
this.toPatternLayoutList.add(plb);
}