Cadabra
Computer algebra system for field theory problems
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, const std::string &, int create_timezone)
 
std::string to_json (bool human_readable) const
 
void from_json (const nlohmann::json &)
 

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
 
std::string session_uuid
 
int create_timezone
 

Constructor & Destructor Documentation

◆ LogEntry() [1/2]

Snoop::LogEntry::LogEntry ( )

◆ LogEntry() [2/2]

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,
const std::string &  c9,
int  create_timezone 
)

Member Function Documentation

◆ from_json()

void Snoop::LogEntry::from_json ( const nlohmann::json &  entry)

◆ to_json()

std::string Snoop::LogEntry::to_json ( bool  human_readable) const

Member Data Documentation

◆ client_log_id

int snoop::Snoop::LogEntry::client_log_id

◆ create_millis

uint64_t snoop::Snoop::LogEntry::create_millis

◆ create_timezone

int snoop::Snoop::LogEntry::create_timezone

◆ id

int snoop::Snoop::LogEntry::id

◆ loc_file

std::string snoop::Snoop::LogEntry::loc_file

◆ loc_line

int snoop::Snoop::LogEntry::loc_line

◆ loc_method

std::string snoop::Snoop::LogEntry::loc_method

◆ log_id

int snoop::Snoop::LogEntry::log_id

◆ message

std::string snoop::Snoop::LogEntry::message

◆ receive_millis

uint64_t snoop::Snoop::LogEntry::receive_millis

◆ server_status

int snoop::Snoop::LogEntry::server_status

◆ session_uuid

std::string snoop::Snoop::LogEntry::session_uuid

◆ type

std::string snoop::Snoop::LogEntry::type

◆ uuid

std::string snoop::Snoop::LogEntry::uuid

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