private Filter filter;
private ConsoleHandler value;
public synchronized void start(final StartContext context) throws StartException {
final ConsoleHandler handler = new ConsoleHandler();
value = handler;
formatterSpec.apply(handler);
setTarget(handler, target);
if (level != null) handler.setLevel(level);
if (filter != null) handler.setFilter(filter);
handler.setAutoFlush(autoflush);
try {
handler.setEncoding(encoding);
} catch (UnsupportedEncodingException e) {
throw new StartException(e);
}
}