struct MsgHeader
Defined at line 18 of file ../../sdk/lib/syslog/cpp/host/encoder.h
Public Members
fuchsia_logging::RawLogSeverity severity
char * offset
LogBuffer * buffer
bool first_tag
char * user_tag
bool has_msg
bool first_kv
bool terminated
Public Methods
size_t RemainingSpace ()
Defined at line 27 of file ../../sdk/lib/syslog/cpp/host/encoder.h
void NullTerminate ()
Defined at line 34 of file ../../sdk/lib/syslog/cpp/host/encoder.h
const char * c_str ()
Defined at line 41 of file ../../sdk/lib/syslog/cpp/host/encoder.h
void WriteChar (const char value)
Defined at line 46 of file ../../sdk/lib/syslog/cpp/host/encoder.h
void WriteString (std::string_view value)
Defined at line 57 of file ../../sdk/lib/syslog/cpp/host/encoder.h
void FlushAndReset ()
Defined at line 71 of file ../../sdk/lib/syslog/cpp/host/encoder.h
size_t WriteStringInternal (std::string_view value)
Writes a string to the buffer and returns the
number of bytes written. Returns 0 only if
the length of the string is 0, or if we're
exactly at the end of the buffer and need a reset.
Defined at line 80 of file ../../sdk/lib/syslog/cpp/host/encoder.h
void Init (LogBuffer * log_buffer, fuchsia_logging::RawLogSeverity log_severity)
Defined at line 92 of file ../../sdk/lib/syslog/cpp/host/encoder.h
MsgHeader * CreatePtr (LogBuffer * log_buffer)
Defined at line 102 of file ../../sdk/lib/syslog/cpp/host/encoder.h