MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
util::Logging Class Reference

#include <logging.h>

Classes

struct  NullStream
 

Public Types

enum  LogLevel {
  LOG_ERROR , LOG_WARNING , LOG_INFO , LOG_VERBOSE ,
  LOG_DEBUG
}
 

Public Member Functions

 Logging (LogLevel max_level)
 
 Logging (void)
 
std::ostream & debug (void) const
 
std::ostream & error (void) const
 
std::ostream & info (void) const
 
std::ostream & log (LogLevel log_level) const
 
void set_max_level (LogLevel max_level)
 
std::ostream & verbose (void) const
 
std::ostream & warning (void) const
 

Detailed Description

Definition at line 20 of file logging.h.

Member Enumeration Documentation

◆ LogLevel

Enumerator
LOG_ERROR 
LOG_WARNING 
LOG_INFO 
LOG_VERBOSE 
LOG_DEBUG 

Definition at line 23 of file logging.h.

Constructor & Destructor Documentation

◆ Logging() [1/2]

util::Logging::Logging ( void  )
inline

Definition at line 67 of file logging.h.

◆ Logging() [2/2]

util::Logging::Logging ( LogLevel  max_level)
inline

Definition at line 73 of file logging.h.

Member Function Documentation

◆ debug()

std::ostream & util::Logging::debug ( void  ) const
inline

Definition at line 117 of file logging.h.

◆ error()

std::ostream & util::Logging::error ( void  ) const
inline

Definition at line 93 of file logging.h.

◆ info()

std::ostream & util::Logging::info ( void  ) const
inline

Definition at line 105 of file logging.h.

◆ log()

std::ostream & util::Logging::log ( LogLevel  log_level) const
inline

Definition at line 85 of file logging.h.

◆ set_max_level()

void util::Logging::set_max_level ( LogLevel  max_level)
inline

Definition at line 79 of file logging.h.

◆ verbose()

std::ostream & util::Logging::verbose ( void  ) const
inline

Definition at line 111 of file logging.h.

◆ warning()

std::ostream & util::Logging::warning ( void  ) const
inline

Definition at line 99 of file logging.h.


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