template <>

class ContextFormatter

Defined at line 177 of file ../../third_party/cobalt/src/logger/project_context.h

Specialization of ContextFormatter for logger::MetricRef to give it default formatting and

allow it to be passed to StatusBuilder::WithContexts.

Will print Metric=

<FullyQualifiedName

()> by default.

Public Methods

void ContextFormatter (const logger::MetricRef & v)

Defined at line 180 of file ../../third_party/cobalt/src/logger/project_context.h

std::string default_key ()

Defined at line 181 of file ../../third_party/cobalt/src/logger/project_context.h

void write_value (std::ostream & stream)

Defined at line 182 of file ../../third_party/cobalt/src/logger/project_context.h