Class query_state::StdLog

class StdLog : public query_state::StdLogData

Public Functions

template<typename ...Pairs>
StdLog(char const *file, unsigned line, char const *func, std::shared_ptr<Catalog_Namespace::SessionInfo> session_info, Pairs&&... pairs)
template<typename ...Pairs>
StdLog(char const *file, unsigned line, char const *func, std::shared_ptr<Catalog_Namespace::SessionInfo> session_info, std::shared_ptr<QueryState> query_state, Pairs&&... pairs)
template<typename ...Pairs>
StdLog(char const *file, unsigned line, char const *func, std::shared_ptr<QueryState> query_state, Pairs&&... pairs)
template<typename ...Pairs>
StdLog(char const *file, unsigned line, char const *func, Pairs&&... pairs)
StdLog(StdLog const&)
StdLog(StdLog&&)
~StdLog()
template<typename ...Pairs>
void appendNameValuePairs(Pairs&&... pairs)
template<typename Units = std::chrono::milliseconds>
Units::rep duration() const
std::shared_ptr<Catalog_Namespace::SessionInfo const> getConstSessionInfo() const
std::shared_ptr<Catalog_Namespace::SessionInfo> getSessionInfo() const
void setQueryState(std::shared_ptr<QueryState> query_state)
void setSessionInfo(std::shared_ptr<Catalog_Namespace::SessionInfo> session_info)

Private Functions

void log(logger::Severity severity, char const *label)
void logCallStack(logger::Severity severity, char const *label)

Private Members

std::shared_ptr<Catalog_Namespace::SessionInfo> session_info_
std::shared_ptr<QueryState> query_state_

Private Static Functions

logger::Severity stdlogBeginSeverity(char const *func)