template <>

class ContextFormatter

Defined at line 250 of file ../../third_party/cobalt/src/lib/util/status_builder.h

Specialization of ContextFormatter for Event::TypeCase to give it default formatting and allow it

to be passed to StatusBuilder::WithContexts.

Will print Event::TypeCase=

<v

()> by default. Where v() maps to a human-readable string.

Public Methods

void ContextFormatter (const Event::TypeCase & v)

Defined at line 253 of file ../../third_party/cobalt/src/lib/util/status_builder.h

std::string default_key ()

Defined at line 254 of file ../../third_party/cobalt/src/lib/util/status_builder.h

std::string v ()

Defined at line 255 of file ../../third_party/cobalt/src/lib/util/status_builder.h

void write_value (std::ostream & stream)

Defined at line 269 of file ../../third_party/cobalt/src/lib/util/status_builder.h