Interface StringLayout

All Superinterfaces:
Encoder<LogEvent>, Layout<String>
All Known Implementing Classes:
AbstractStringLayout, HtmlLayout, Log4j1SyslogLayout, Log4j1XmlLayout, PatternLayout, Rfc5424Layout, SyslogLayout

public interface StringLayout extends Layout<String>
Instantiates the @{link Layout} type for String-based layouts.
  • 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.