An interface to a log output sink. More...
#include "util/stream/log_output_stream.h"
Public Member Functions | |
virtual int | Log (const char *buf)=0 |
Logs |buf| to the output sink. | |
virtual size_t | OutputCap ()=0 |
Returns the maximum number of bytes to allow writing to this log. | |
virtual size_t | LineWidth ()=0 |
Returns the maximum length of buffers allowed to be passed to Log(). | |
An interface to a log output sink.
|
pure virtual |
Logs |buf| to the output sink.
buf | the buffer to write to the log. More bytes than are in |buf| may be written, e.g. to convey metadata. |