Class LogDispatchData

Synopsis

#include <src/easylogging++.h>

class LogDispatchData

Description

No description yet.

Mentioned in

Methods

LogDispatchData
dispatchAction

Mentioned in

logMessage
setDispatchAction
setLogMessage

Source

Lines 2163-2183 in src/easylogging++.h.

class LogDispatchData {
 public:
  LogDispatchData() : m_logMessage(nullptr), m_dispatchAction(base::DispatchAction::None) {}
  inline const LogMessage* logMessage(void) const {
    return m_logMessage;
  }
  inline base::DispatchAction dispatchAction(void) const {
    return m_dispatchAction;
  }
  inline void setLogMessage(LogMessage* logMessage) {
    m_logMessage = logMessage;
  }
  inline void setDispatchAction(base::DispatchAction dispatchAction) {
    m_dispatchAction = dispatchAction;
  }
 private:
  LogMessage* m_logMessage;
  base::DispatchAction m_dispatchAction;
  friend class base::LogDispatcher;

};





Add Discussion

Log in to comment