Skip to content

LogEventMessageDetailFormatterAndColorizer

Sven Nissel edited this page Apr 6, 2022 · 4 revisions

MessegeFormatter and colorizer

OtrosLogViewer can present any message detail in clear and readable way. To do this, it usese MessageColorizer and MessageFormatters.

MessageFormatter

MessageFormatter is responsible for formatting text (i.e. SOAP message), adding intends, etc. Best example of formatter is presenting SOAP message in 'pretty print'

MessageColorizer

Message Colorizer is responsilble for changing fonts and colors of text. It can be use for highlighing stacktrace or SOAP message.

Included Formatters and Colorizers

  • SOAP
  • Stacktrace

Examples

Statckrace colorizer

screen-message-colorizing-stacktrace.png

SOAP

screen-soap-formatting.png

Creating custom

  • Custom - base on property file //TODO link
  • Custom - code based //TODO link to tutorial

Video

See video:

Clone this wiki locally