Class LogEventMarkdownRenderer
java.lang.Object
org.jpos.log.render.markdown.LogEventMarkdownRenderer
- All Implemented Interfaces:
LogRenderer<LogEvent>
Markdown renderer for
LogEvent, formatted as an H2 heading per event.-
Nested Class Summary
Nested classes/interfaces inherited from interface LogRenderer
LogRenderer.TypeModifier and TypeInterfaceDescriptionstatic enumSupported log output format types. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor; no instance state to initialise. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LogRenderer
indent, render, render, renderModifier and TypeMethodDescriptiondefault StringPrependsindentto each line ofs.default StringRenders the given object to a string with no indentation.default voidrender(LogEvent obj, PrintStream ps) Renders the given object to the print stream with no indentation.default StringRenders the given object to a string with the specified indentation.
-
Constructor Details
-
LogEventMarkdownRenderer
public LogEventMarkdownRenderer()Default constructor; no instance state to initialise.
-
-
Method Details
-
render
Description copied from interface:LogRendererRenders the given object to the print stream with the specified indentation.- Specified by:
renderin interfaceLogRenderer<LogEvent>- Parameters:
evt- the object to renderps- the output streamindent- indentation prefix
-
clazz
Description copied from interface:LogRendererReturns the class this renderer handles.- Specified by:
clazzin interfaceLogRenderer<LogEvent>- Returns:
- the handled class
-
type
Description copied from interface:LogRendererReturns the log event type this renderer handles.- Specified by:
typein interfaceLogRenderer<LogEvent>- Returns:
- the handled event type
-