fcf::NTest::att() function
Package: fcfTest
File: test.hpp
Available from version: 1.0.1
Returns an
The message will only be written to the output if the current logger threshold is set to
Result
- An RAII-based stream wrapper used to buffer log messages before sending them to the logger.
Example: Basic Attention Logging
Directly outputting a attention message.
#define FCF_TEST_IMPLEMENTATION
#include <fcfTest/test.hpp>
int main() {
// This will be printed because the default level is fcf::NTest::LL_LOG (which includes fcf::NTest::LL_ATT )
fcf::NTest::att () << "Database connection" << std::endl;
return 0;
}
Output:
> Database connection
VPSDime is an industry leading VPS hosting company that provides virtualized server services with high performance, availability and friendly support.