private RFC5424Layout(final Configuration config, final Facility facility, final String id, final int ein,
final boolean includeMDC, final boolean includeNL, final String escapeNL, final String mdcId,
final String appName, final String messageId, final String excludes, final String includes,
final String required, final Charset charset, final String exceptionPattern) {
super(charset);
final PatternParser parser = createPatternParser(config);
formatters = exceptionPattern == null ? null : parser.parse(exceptionPattern, false);
this.facility = facility;
this.defaultId = id == null ? DEFAULT_ID : id;
this.enterpriseNumber = ein;
this.includeMDC = includeMDC;
this.includeNewLine = includeNL;