Package net.logstash.logback.encoder
Class SeparatorParser
java.lang.Object
net.logstash.logback.encoder.SeparatorParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
parseSeparator
(String separator) Parses the given separator string.
-
Method Details
-
parseSeparator
Parses the given separator string. The following values have special meaning:null
or 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
-