Class LogDispatcher

Synopsis

#include <src/easylogging++.h>

class LogDispatcher : base::NoCopy

Description

Dispatches log messages.

Inheritance

Ancestors: NoCopy

Methods

LogDispatcher
dispatchLogDispatcher.

Source

Lines 2774-2788 in src/easylogging++.h.

class LogDispatcher : base::NoCopy {
 public:
  LogDispatcher(bool proceed, LogMessage* logMessage, base::DispatchAction dispatchAction) :
    m_proceed(proceed),
    m_logMessage(logMessage),
    m_dispatchAction(std::move(dispatchAction)) {
  }

  void dispatch(void);

 private:
  bool m_proceed;
  LogMessage* m_logMessage;
  base::DispatchAction m_dispatchAction;
};





Add Discussion

Log in to comment