Class ObjectTxtLogRenderer
java.lang.Object
org.jpos.log.render.txt.ObjectTxtLogRenderer
- All Implemented Interfaces:
LogRenderer<Object>
Default plain-text renderer used when no more specific
LogRenderer matches.-
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(Object 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
-
ObjectTxtLogRenderer
public ObjectTxtLogRenderer()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<Object>- Parameters:
obj- the object to renderps- the output streamindent- indentation prefix
-
clazz
Description copied from interface:LogRendererReturns the class this renderer handles.- Specified by:
clazzin interfaceLogRenderer<Object>- Returns:
- the handled class
-
type
Description copied from interface:LogRendererReturns the log event type this renderer handles.- Specified by:
typein interfaceLogRenderer<Object>- Returns:
- the handled event type
-