Package org.apache.logging.log4j.core
Interface StringLayout
- All Known Implementing Classes:
AbstractStringLayout
,HtmlLayout
,Log4j1SyslogLayout
,Log4j1XmlLayout
,PatternLayout
,Rfc5424Layout
,SyslogLayout
Instantiates the @{link Layout} type for String-based layouts.
-
Field Summary
Fields inherited from interface org.apache.logging.log4j.core.Layout
ELEMENT_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionGets the Charset this layout uses to encode Strings into bytes.Methods inherited from interface org.apache.logging.log4j.core.Layout
getContentFormat, getContentType, getFooter, getHeader, toByteArray, toSerializable
-
Method Details
-
getCharset
Charset getCharset()Gets the Charset this layout uses to encode Strings into bytes.- Returns:
- the Charset this layout uses to encode Strings into bytes.
-