class LogBufferBuilder
Defined at line 30 of file ../../sdk/lib/syslog/cpp/log_message_impl.h
Constructs a LogBuffer
Public Methods
void LogBufferBuilder (fuchsia_logging::RawLogSeverity severity)
Defined at line 32 of file ../../sdk/lib/syslog/cpp/log_message_impl.h
LogBufferBuilder & WithFile (std::string_view file, unsigned int line)
Sets the file name and line number for the log message
Defined at line 35 of file ../../sdk/lib/syslog/cpp/log_message_impl.h
LogBufferBuilder & WithCondition (std::string_view condition)
Sets the condition for the log message
This is used by test frameworks that want
to print an assertion message when a test fails.
This prepends the string "Check failed: "
<
<condition
<
<
". "
to whatever message the user passes.
Defined at line 46 of file ../../sdk/lib/syslog/cpp/log_message_impl.h
LogBufferBuilder & WithMsg (std::string_view msg)
Sets the message for the log message
Defined at line 52 of file ../../sdk/lib/syslog/cpp/log_message_impl.h
fuchsia_logging::LogBuffer Build ()
Builds the LogBuffer
Defined at line 190 of file ../../sdk/lib/syslog/cpp/host/logging_backend.cc