Exemple #1
0
 @Override
 protected Layout<IAccessEvent> makeSubjectLayout(String subjectStr) {
   if (subjectStr == null) {
     subjectStr = DEFAULT_SUBJECT_PATTERN;
   }
   PatternLayout pl = new PatternLayout();
   pl.setPattern(subjectStr);
   pl.start();
   return pl;
 }
Exemple #2
0
 protected PatternLayout makeNewToPatternLayout(String toPattern) {
   PatternLayout pl = new PatternLayout();
   pl.setPattern(toPattern);
   return pl;
 }