Package net.logstash.logback.encoder
Class SeparatorParser
java.lang.Object
net.logstash.logback.encoder.SeparatorParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringparseSeparator(String separator) Parses the given separator string.
-
Method Details
-
parseSeparator
Parses the given separator string. The following values have special meaning:nullor empty string = no separator.- "
SYSTEM}" = operating system new line. - "
UNIX" = unix line ending (\n). - "
WINDOWS" = windows line ending (\r\n).
Any other value will be returned as-is.
- Parameters:
separator- the separator format- Returns:
- the actual separator string after parsing
-