Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
snoop::Snoop::LogEntry Class Reference

Description

C++ representation of a log entry.

#include <Snoop.hh>

Public Member Functions

 LogEntry ()
 
 LogEntry (int log_id_, int client_log_id_, int id_, const std::string &, uint64_t, uint64_t, const std::string &, int, const std::string &, const std::string &, const std::string &, int status)
 
std::string to_json (bool human_readable) const
 
void from_json (const Json::Value &)
 

Public Attributes

int log_id
 
int client_log_id
 
int id
 
std::string uuid
 
uint64_t create_millis
 
uint64_t receive_millis
 
std::string loc_file
 
int loc_line
 
std::string loc_method
 
std::string type
 
std::string message
 
int server_status
 

Constructor & Destructor Documentation

Snoop::LogEntry::LogEntry ( )
Snoop::LogEntry::LogEntry ( int  log_id_,
int  client_log_id_,
int  id_,
const std::string &  c1b,
uint64_t  c2,
uint64_t  c2b,
const std::string &  c3,
int  c4,
const std::string &  c5,
const std::string &  c6,
const std::string &  c7,
int  status 
)

Member Function Documentation

void Snoop::LogEntry::from_json ( const Json::Value &  entry)
std::string Snoop::LogEntry::to_json ( bool  human_readable) const

Member Data Documentation

int snoop::Snoop::LogEntry::client_log_id
uint64_t snoop::Snoop::LogEntry::create_millis
int snoop::Snoop::LogEntry::id
std::string snoop::Snoop::LogEntry::loc_file
int snoop::Snoop::LogEntry::loc_line
std::string snoop::Snoop::LogEntry::loc_method
int snoop::Snoop::LogEntry::log_id
std::string snoop::Snoop::LogEntry::message
uint64_t snoop::Snoop::LogEntry::receive_millis
int snoop::Snoop::LogEntry::server_status
std::string snoop::Snoop::LogEntry::type
std::string snoop::Snoop::LogEntry::uuid

The documentation for this class was generated from the following files: