9 void insert ( std::ostream& aStr ,
const uint32_t& aUint )
14 void insert ( std::ostream& aStr ,
const int32_t& aInt )
19 void insert ( std::ostream& aStr ,
const bool& aBool )
27 FatalLevel::FatalLevel ( std::ostream& aStr , Base::fPtr aHeadFunction, Base::fPtr aTailFunction ) :
Base ( aStr , aHeadFunction , aTailFunction ) {}
32 <<
Time<
day,
'-',
mth,
'-',
yr,
' ',
hr,
':',
min,
':',
sec,
'.',
usec > (
Now() )
39 aStr <<
"\033[0m" << std::endl;
50 <<
Time<
day,
'-',
mth,
'-',
yr,
' ',
hr,
':',
min,
':',
sec,
'.',
usec > (
Now() )
57 aStr <<
"\033[0m" << std::endl;
69 <<
Time<
day,
'-',
mth,
'-',
yr,
' ',
hr,
':',
min,
':',
sec,
'.',
usec > (
Now() )
76 aStr <<
"\033[0m" << std::endl;
86 <<
Time<
day,
'-',
mth,
'-',
yr,
' ',
hr,
':',
min,
':',
sec,
'.',
usec > (
Now() )
93 aStr <<
"\033[0m" << std::endl;
104 <<
Time<
day,
'-',
mth,
'-',
yr,
' ',
hr,
':',
min,
':',
sec,
'.',
usec > (
Now() )
111 aStr <<
"\033[0m" << std::endl;
122 <<
Time<
day,
'-',
mth,
'-',
yr,
' ',
hr,
':',
min,
':',
sec,
'.',
usec > (
Now() )
129 aStr <<
"\033[0m" << std::endl;
hour of the day formatted as two digits, 24-hour clock e.g.
_ThisThreadID ThisThreadID()
FatalLevel(std::ostream &aStr=std::cout, Base::fPtr aHeadFunction=FatalLevel::colour_head, Base::fPtr aTailFunction=FatalLevel::colour_tail)
NoticeLevel(std::ostream &aStr=std::cout, Base::fPtr aHeadFunction=NoticeLevel::colour_head, Base::fPtr aTailFunction=NoticeLevel::colour_tail)
static void colour_tail(std::ostream &aStr)
minutes past the hour formatted as two digits e.g.
static void colour_head(std::ostream &aStr)
void(* fPtr)(std::ostream &aStr)
static void colour_head(std::ostream &aStr)
day of the month formatted as two digits e.g.
Helper struct representing the Info log level to allow us to specialize functions according to their ...
year formatted as two digits e.g.
Helper struct representing the Debug log level to allow us to specialize functions according to their...
static void colour_tail(std::ostream &aStr)
Helper struct representing the Error log level to allow us to specialize functions according to their...
_Time< DefaultTimeFmt > Time(const timeval &aTime)
Helper function which wrap the template uglyness in a pretty package.
static void colour_head(std::ostream &aStr)
DebugLevel(std::ostream &aStr=std::cout, Base::fPtr aHeadFunction=DebugLevel::colour_head, Base::fPtr aTailFunction=DebugLevel::colour_tail)
seconds past the minute formatted as two digits e.g.
ErrorLevel(std::ostream &aStr=std::cout, Base::fPtr aHeadFunction=ErrorLevel::colour_head, Base::fPtr aTailFunction=ErrorLevel::colour_tail)
static void colour_tail(std::ostream &aStr)
Helper struct representing the Warning log level to allow us to specialize functions according to the...
month formatted as two digits e.g.
void insert(std::ostream &aStr, const uint32_t &aUint)
static void colour_tail(std::ostream &aStr)
static void colour_tail(std::ostream &aStr)
static void colour_head(std::ostream &aStr)
WarningLevel(std::ostream &aStr=std::cout, Base::fPtr aHeadFunction=WarningLevel::colour_head, Base::fPtr aTailFunction=WarningLevel::colour_tail)
static void colour_head(std::ostream &aStr)
static void colour_head(std::ostream &aStr)
Helper struct representing the Fatal log level to allow us to specialize functions according to their...
Helper struct representing the Notice log level to allow us to specialize functions according to thei...
timeval Now()
A helper function to return the current time.
microseconds past the second formatted as exactly six digits e.g.
InfoLevel(std::ostream &aStr=std::cout, Base::fPtr aHeadFunction=InfoLevel::colour_head, Base::fPtr aTailFunction=InfoLevel::colour_tail)
static void colour_tail(std::ostream &aStr)