Class PlainTextRenderer
java.lang.Object
org.apache.logging.log4j.core.pattern.PlainTextRenderer
- All Implemented Interfaces:
TextRenderer
Renders input unchanged.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlainTextRenderer
void
render
(StringBuilder input, StringBuilder output) Renders input text to an output.void
render
(String input, StringBuilder output, String styleName) Renders input text to an output.
-
Constructor Details
-
PlainTextRenderer
public PlainTextRenderer()
-
-
Method Details
-
getInstance
-
render
Description copied from interface:TextRenderer
Renders input text to an output.- Specified by:
render
in interfaceTextRenderer
- Parameters:
input
- The inputoutput
- The outputstyleName
- The style name to use to render the input on the output.
-
render
Description copied from interface:TextRenderer
Renders input text to an output.- Specified by:
render
in interfaceTextRenderer
- Parameters:
input
- The inputoutput
- The output
-