LogEventMessageDetailFormatterAndColorizer - lluccia/otroslogviewer GitHub Wiki

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

https://raw.githubusercontent.com/otros-systems/otroslogviewer/wiki/screen-message-colorizing-stacktrace.png

SOAP

https://raw.githubusercontent.com/otros-systems/otroslogviewer/wiki/screen-soap-formatting.png

Creating custom

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

Video

See video: