Helper struct representing the Info log level to allow us to specialize functions according to their log level. More...
#include <uhal/log/LogLevels.hpp>
Public Member Functions | |
InfoLevel (std::ostream &aStr=std::cout, Base::fPtr aHeadFunction=InfoLevel::colour_head, Base::fPtr aTailFunction=InfoLevel::colour_tail) | |
![]() | |
InfoLevel & | operator() () |
InfoLevel & | head () |
InfoLevel & | 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< InfoLevel > | Base |
Additional Inherited Members | |
![]() | |
typedef void(* | fPtr) (std::ostream &aStr) |
![]() | |
BaseLogLevel (std::ostream &aStr, fPtr aHeadFunction, fPtr aTailFunction) | |
Helper struct representing the Info log level to allow us to specialize functions according to their log level.
Definition at line 144 of file LogLevels.hpp.
|
private |
Definition at line 146 of file LogLevels.hpp.
uhal::InfoLevel::InfoLevel | ( | std::ostream & | aStr = std::cout , |
Base::fPtr | aHeadFunction = InfoLevel::colour_head , |
||
Base::fPtr | aTailFunction = InfoLevel::colour_tail |
||
) |
Definition at line 100 of file LogLevels.cpp.
|
static |
Definition at line 102 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 110 of file LogLevels.cpp.