absl::PrintTo

Writes a human-readable representation of entry to os, e.g. for use by test frameworks such as GoogleTest.

Synopsis

Declared in <absl/log/log_entry.h>

void
PrintTo(
    absl::LogEntry const& entry,
    std::ostream* os);

Parameters

NameDescription
entryThe log entry to print.
osThe output stream to write to.