template <>

class ContextFormatter

Defined at line 106 of file ../../third_party/cobalt/src/logger/event_record.h

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

allow it to be passed to StatusBuilder::WithContexts.

Will print by default:

- With no metric: Project=

<project

_context()->FullyQualifiedName()>

- With a metric: Metric=

<FullMetricName

()>

Public Methods

void ContextFormatter (const logger::EventRecord & v)

Defined at line 109 of file ../../third_party/cobalt/src/logger/event_record.h

std::string default_key ()

Defined at line 110 of file ../../third_party/cobalt/src/logger/event_record.h

void write_value (std::ostream & stream)

Defined at line 116 of file ../../third_party/cobalt/src/logger/event_record.h