Package org.apache.logging.log4j.core
Interface StringLayout
-
- All Known Implementing Classes:
AbstractStringLayout
,HtmlLayout
,Log4j1XmlLayout
,PatternLayout
,Rfc5424Layout
,SyslogLayout
public interface StringLayout extends Layout<String>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Charset
getCharset()
Gets 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 Detail
-
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.
-
-