Single line in the logger.
More...
Single line in the logger.
Definition at line 52 of file Logger.hpp.
template<typename T >
LoggerLine& SUNphi::Logger::LoggerLine::operator* |
( |
T && |
t | ) |
|
|
inline |
Prints after putting a space.
- Parameters
-
Definition at line 198 of file Logger.hpp.
template<typename T , typename = EnableIf<not canPrint<LoggerLine,T>>, typename = EnableIf<canPrint<File,const T&>>>
LoggerLine& SUNphi::Logger::LoggerLine::operator<< |
( |
const T & |
t | ) |
|
|
inline |
Catch-all print
The SFINAE is needed to avoid that the method is used when File does not know how to print
- Parameters
-
Definition at line 213 of file Logger.hpp.
Prints crash information
Then sets the flag hasToCrash
to true, such that at destroy of the line, crash happens
Definition at line 261 of file Logger.hpp.
LoggerLine& SUNphi::Logger::LoggerLine::operator<< |
( |
const char * |
str | ) |
|
|
inline |
Prints a string, parsing newline.
Pointer to the first char of the string
Definition at line 273 of file Logger.hpp.
LoggerLine& SUNphi::Logger::LoggerLine::printVariadicMessage |
( |
const char * |
format, |
|
|
va_list |
ap |
|
) |
| |
|
inline |
Print a C-style variadic message.
- Parameters
-
format | Format to print |
ap | Variadic part |
Definition at line 222 of file Logger.hpp.
void SUNphi::Logger::LoggerLine::startNewLine |
( |
| ) |
|
|
inline |
Starts a new line.
Total number of the character written
Definition at line 87 of file Logger.hpp.
The documentation for this class was generated from the following file: