Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
Static Public Member Functions | Static Public Attributes | List of all members
rofl::logging Class Reference

Static Public Member Functions

static void init ()
 
static void close ()
 
static void set_debug_level (unsigned int debug_level)
 

Static Public Attributes

static std::filebuf devnull
 
static std::filebuf logfile
 
static std::ostream emerg
 
static std::ostream alert
 
static std::ostream crit
 
static std::ostream error
 
static std::ostream warn
 
static std::ostream notice
 
static std::ostream info
 
static std::ostream debug
 
static std::ostream debug2
 
static std::ostream debug3
 
static std::ostream trace
 
static std::streamsize width
 
static const unsigned int EMERG = 0
 
static const unsigned int ALERT = 1
 
static const unsigned int CRIT = 2
 
static const unsigned int ERROR = 3
 
static const unsigned int WARN = 4
 
static const unsigned int NOTICE = 5
 
static const unsigned int INFO = 6
 
static const unsigned int DBG = 7
 
static const unsigned int DBG2 = 8
 
static const unsigned int DBG3 = 9
 
static const unsigned int TRACE = 10
 

Member Function Documentation

void logging::close ( )
static

Destroy C++ logging facility resources

void logging::init ( )
static

Initialize C++ logging facility

void logging::set_debug_level ( unsigned int  debug_level)
static

Set the debug level. It is recommended, for portability reasons to use logging::EMERG, logging::ALERT ... constants


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