Cadabra
Computer algebra system for field theory problems
Classes | Namespaces | Macros | 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 <condition_variable>
#include <set>
#include "websocket_client.hh"
#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::ParseError
 Exception used to flag invalid/unparseable data received on the wire. 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 SNOOP_SSL
 
#define LOC   __FILE__, __LINE__, __func__
 

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__

◆ SNOOP_SSL

#define SNOOP_SSL

Function Documentation

◆ safestring()

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