Google Cloud C++ Client  0.4.0
C++ Client Library for Google Cloud Platform
Public Member Functions | List of all members
google::cloud::v0::LogBackend Class Referenceabstract

A sink to receive log records. More...

#include <google/cloud/log.h>

Public Member Functions

virtual ~LogBackend ()=default
 
virtual void Process (LogRecord const &log_record)=0
 
virtual void ProcessWithOwnership (LogRecord log_record)=0
 

Detailed Description

A sink to receive log records.

Definition at line 222 of file log.h.

Constructor & Destructor Documentation

◆ ~LogBackend()

virtual google::cloud::v0::LogBackend::~LogBackend ( )
virtualdefault

Member Function Documentation

◆ Process()

virtual void google::cloud::v0::LogBackend::Process ( LogRecord const &  log_record)
pure virtual

◆ ProcessWithOwnership()

virtual void google::cloud::v0::LogBackend::ProcessWithOwnership ( LogRecord  log_record)
pure virtual