InsertConsole

An appender for the tango logger which writes the output _above_ the current cursor position, breaking the line automatically

This was copied from ocean.util.log.AppendConsole and modified

Constructors

this
this(Appender.Layout how)

Create with the given layout

this
this(OutputStream stream, bool flush, Appender.Layout how)

Create with the given stream and layout

Members

Functions

append
void append(LogEvent event)

Append an event to the output.

connectOutput
void connectOutput(OutputStream stream)

Sets the output stream to the different stream.

mask
Mask mask()

Return the fingerprint for this class

name
cstring name()

Return the name of this class

Inherited Members

From Appender

Layout
interface Layout

Interface for all logging layout instances

mask
Mask mask()

Return the mask used to identify this Appender.

name
cstring name()

Return the name of this Appender.

append
void append(LogEvent event)

Append a message to the output.

level
ILogger.Level level()

Return the current Level setting

level
Appender level(ILogger.Level l)

Return the current Level setting

register
Mask register(cstring tag)

Static method to return a mask for identifying the Appender.

layout
void layout(Layout how)

Set the current layout to be that of the argument, or the generic layout where the argument is null

layout
Layout layout()

Return the current Layout

next
void next(Appender appender)

Attach another appender to this one

next
Appender next()

Return the next appender in the list

close
void close()

Close this appender. This would be used for file, sockets, and the like

Meta