MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | List of all members
encrypto::motion::Logger Class Reference

#include <logger.h>

Public Member Functions

 Logger (std::size_t my_id, boost::log::trivial::severity_level severity_level)
 
 ~Logger ()
 
void Log (boost::log::trivial::severity_level severity_level, const std::string &message)
 
void Log (boost::log::trivial::severity_level severity_level, std::string &&message)
 
void LogTrace (const std::string &message)
 
void LogTrace (std::string &&message)
 
void LogInfo (const std::string &message)
 
void LogInfo (std::string &&message)
 
void LogDebug (const std::string &message)
 
void LogDebug (std::string &&message)
 
void LogError (const std::string &message)
 
void LogError (std::string &&message)
 
bool IsEnabled ()
 
void SetEnabled (bool enable=true)
 

Constructor & Destructor Documentation

◆ Logger()

encrypto::motion::Logger::Logger ( std::size_t  my_id,
boost::log::trivial::severity_level  severity_level 
)

◆ ~Logger()

encrypto::motion::Logger::~Logger ( )

Member Function Documentation

◆ IsEnabled()

bool encrypto::motion::Logger::IsEnabled ( )
inline

◆ Log() [1/2]

void encrypto::motion::Logger::Log ( boost::log::trivial::severity_level  severity_level,
const std::string &  message 
)

◆ Log() [2/2]

void encrypto::motion::Logger::Log ( boost::log::trivial::severity_level  severity_level,
std::string &&  message 
)

◆ LogDebug() [1/2]

void encrypto::motion::Logger::LogDebug ( const std::string &  message)
Here is the caller graph for this function:

◆ LogDebug() [2/2]

void encrypto::motion::Logger::LogDebug ( std::string &&  message)

◆ LogError() [1/2]

void encrypto::motion::Logger::LogError ( const std::string &  message)

◆ LogError() [2/2]

void encrypto::motion::Logger::LogError ( std::string &&  message)

◆ LogInfo() [1/2]

void encrypto::motion::Logger::LogInfo ( const std::string &  message)

◆ LogInfo() [2/2]

void encrypto::motion::Logger::LogInfo ( std::string &&  message)

◆ LogTrace() [1/2]

void encrypto::motion::Logger::LogTrace ( const std::string &  message)
Here is the caller graph for this function:

◆ LogTrace() [2/2]

void encrypto::motion::Logger::LogTrace ( std::string &&  message)

◆ SetEnabled()

void encrypto::motion::Logger::SetEnabled ( bool  enable = true)

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