Helper struct representing the Debug log level to allow us to specialize functions according to their log level. More...
#include <uhal/log/LogLevels.hpp>
Public Member Functions | |
DebugLevel (std::ostream &aStr=std::cout, Base::fPtr aHeadFunction=DebugLevel::colour_head, Base::fPtr aTailFunction=DebugLevel::colour_tail) | |
Public Member Functions inherited from uhal::BaseLogLevel< DebugLevel > | |
DebugLevel & | operator() () |
DebugLevel & | head () |
DebugLevel & | tail () |
std::ostream & | stream () |
Static Public Member Functions | |
static void | colour_head (std::ostream &aStr) |
static void | colour_tail (std::ostream &aStr) |
Private Types | |
typedef BaseLogLevel< DebugLevel > | Base |
Additional Inherited Members | |
Protected Types inherited from uhal::BaseLogLevel< DebugLevel > | |
typedef void(* | fPtr) (std::ostream &aStr) |
Protected Member Functions inherited from uhal::BaseLogLevel< DebugLevel > | |
BaseLogLevel (std::ostream &aStr, fPtr aHeadFunction, fPtr aTailFunction) | |
Helper struct representing the Debug log level to allow us to specialize functions according to their log level.
Definition at line 158 of file LogLevels.hpp.
|
private |
Definition at line 160 of file LogLevels.hpp.
uhal::DebugLevel::DebugLevel | ( | std::ostream & | aStr = std::cout , |
Base::fPtr | aHeadFunction = DebugLevel::colour_head , |
||
Base::fPtr | aTailFunction = DebugLevel::colour_tail |
||
) |
Definition at line 118 of file LogLevels.cpp.
|
static |
Definition at line 120 of file LogLevels.cpp.
References uhal::day, uhal::hr, uhal::min, uhal::mth, uhal::Now(), uhal::sec, uhal::Time(), uhal::usec, and uhal::yr.
|
static |
Definition at line 128 of file LogLevels.cpp.