Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
Modifier and Type | Method and Description |
---|---|
LoggerFields[] |
SyslogAppender.Builder.getLoggerFields() |
Modifier and Type | Method and Description |
---|---|
static <B extends SyslogAppender.Builder<B>> |
SyslogAppender.createAppender(String host,
int port,
String protocolStr,
SslConfiguration sslConfiguration,
int connectTimeoutMillis,
int reconnectDelayMillis,
boolean immediateFail,
String name,
boolean immediateFlush,
boolean ignoreExceptions,
Facility facility,
String id,
int enterpriseNumber,
boolean includeMdc,
String mdcId,
String mdcPrefix,
String eventPrefix,
boolean newLine,
String escapeNL,
String appName,
String msgId,
String excludes,
String includes,
String required,
String format,
Filter filter,
Configuration configuration,
Charset charset,
String exceptionPattern,
LoggerFields[] loggerFields,
boolean advertise)
Deprecated.
|
B |
SyslogAppender.Builder.setLoggerFields(LoggerFields[] loggerFields) |
Modifier and Type | Method and Description |
---|---|
static LoggerFields |
LoggerFields.createLoggerFields(KeyValuePair[] keyValuePairs,
String sdId,
String enterpriseId,
boolean discardIfAllFieldsAreEmpty)
Create a LoggerFields from KeyValuePairs.
|
Modifier and Type | Method and Description |
---|---|
static Rfc5424Layout |
Rfc5424Layout.createLayout(Facility facility,
String id,
int enterpriseNumber,
boolean includeMDC,
String mdcId,
String mdcPrefix,
String eventPrefix,
boolean newLine,
String escapeNL,
String appName,
String msgId,
String excludes,
String includes,
String required,
String exceptionPattern,
boolean useTlsMessageFormat,
LoggerFields[] loggerFields,
Configuration config)
Deprecated.
Use
instead |
Rfc5424Layout.Rfc5424LayoutBuilder |
Rfc5424Layout.Rfc5424LayoutBuilder.setLoggerFields(LoggerFields[] loggerFields) |
Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.