Cadabra
Computer algebra system for field theory problems
Classes | Namespaces | Macros | Typedefs | Functions | Variables
Snoop.hh File Reference
#include <string>
#include <sstream>
#include <sqlite3.h>
#include <stdint.h>
#include <mutex>
#include "nlohmann/json.hpp"
#include <thread>
#include <set>
#include <websocketpp/config/asio_no_tls_client.hpp>
#include <websocketpp/client.hpp>
#include <websocketpp/common/thread.hpp>
#include <websocketpp/common/functional.hpp>
#include <unistd.h>

Go to the source code of this file.

Classes

class  snoop::Flush
 
class  snoop::Snoop
 Logging class with functionality to send log information to a remote server using a websocket connection. More...
 
class  snoop::Snoop::Ticket
 Get status of a given authentication ticket. More...
 
class  snoop::Snoop::AppEntry
 C++ representation of a run entry. More...
 
class  snoop::Snoop::LogEntry
 C++ representation of a log entry. More...
 
class  snoop::Snoop::PayLoad
 C++ representation of a payload entry. More...
 

Namespaces

 snoop
 

Macros

#define LOC   __FILE__, __LINE__, __func__
 

Typedefs

typedef websocketpp::client< websocketpp::config::asio_client > WebsocketClient
 
typedef websocketpp::config::asio_client::message_type::ptr message_ptr
 

Functions

std::string safestring (const unsigned char *c)
 

Variables

Flush snoop::flush
 
Snoop snoop::log
 
const char snoop::info [] ="info"
 
const char snoop::warn [] ="warning"
 
const char snoop::error [] ="error"
 
const char snoop::fatal [] ="fatal"
 
const char snoop::email [] ="email"
 

Macro Definition Documentation

◆ LOC

#define LOC   __FILE__, __LINE__, __func__

Typedef Documentation

◆ message_ptr

typedef websocketpp::config::asio_client::message_type::ptr message_ptr

◆ WebsocketClient

typedef websocketpp::client<websocketpp::config::asio_client> WebsocketClient

Function Documentation

◆ safestring()

std::string safestring ( const unsigned char *  c)