Class MarkdownLogWriter
java.lang.Object
org.jpos.util.MarkdownLogWriter
- All Implemented Interfaces:
LogEventWriter
@Deprecated(forRemoval=false)
public class MarkdownLogWriter
extends Object
implements LogEventWriter
Deprecated.
LogEventWriter that renders events using the registered Markdown
LogRenderer, prefixing each entry with a timestamp.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a writer that renders events with the registered Markdown renderer. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.Closes the writer and releases any underlying resources.voidDeprecated.Sets the print stream used for output.voidDeprecated.Writes a log event to the underlying output.
-
Constructor Details
-
MarkdownLogWriter
public MarkdownLogWriter()Deprecated.Creates a writer that renders events with the registered Markdown renderer.
-
-
Method Details
-
write
Deprecated.Description copied from interface:LogEventWriterWrites a log event to the underlying output.- Specified by:
writein interfaceLogEventWriter- Parameters:
ev- the log event to write
-
setPrintStream
Deprecated.Description copied from interface:LogEventWriterSets the print stream used for output.- Specified by:
setPrintStreamin interfaceLogEventWriter- Parameters:
ps- the destination stream
-
close
Deprecated.Description copied from interface:LogEventWriterCloses the writer and releases any underlying resources.- Specified by:
closein interfaceLogEventWriter
-