#include <support/NullStreams.h>
Inheritance diagram for BNullTextOutput:
Public Member Functions | |
BNullTextOutput () | |
virtual void | Flush () |
Request that any pending data be written. | |
virtual status_t | LogV (const log_info &info, const iovec *vector, ssize_t count, uint32_t flags=0) |
Write a log line. | |
virtual void | MoveIndent (int32_t delta) |
Adjust the current indentation level by delta amount. | |
virtual status_t | Print (const char *debugText, ssize_t len=-1) |
level, and possibly other formatting, will be applied to each line. | |
virtual status_t | Sync () |
physical device. | |
Protected Member Functions | |
virtual | ~BNullTextOutput () |
|
|
|
|
|
Request that any pending data be written. This does NOT block until the data has been written; rather, it just ensures that the data will be written at some point in the future. Implements ITextOutput. |
|
Write a log line. Metadata about the text is supplied in info. The text itself is supplied in the iovec, which is handled as one atomic unit. You can supply B_WRITE_END for flags to indicate the item being logged has ended. |
|
Adjust the current indentation level by delta amount.
Implements ITextOutput. |
|
level, and possibly other formatting, will be applied to each line. If len is negative, all text up to the first NUL character will be printed. Otherwise, up to len characters will be printed. Implements ITextOutput. |
|
physical device. Returns B_OK if the data is safely stored away, else an error code. Implements ITextOutput. |