proxygen
|
#include <folly/logging/LogCategory.h>
#include <folly/Conv.h>
#include <folly/logging/Logger.h>
#include <folly/logging/LoggerDB.h>
#include <folly/logging/test/TestLogHandler.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Functions | |
TEST (LogCategory, effectiveLevel) | |
void | testNumHandlers (size_t numHandlers) |
TEST (LogCategory, numHandlers) | |
TEST | ( | LogCategory | , |
effectiveLevel | |||
) |
Definition at line 29 of file LogCategoryTest.cpp.
References folly::CRITICAL, folly::DBG0, folly::ERR, EXPECT_EQ, foo2(), folly::kDefaultLogLevel, folly::MAX_LEVEL, and folly::LoggerDB::TESTING.
TEST | ( | LogCategory | , |
numHandlers | |||
) |
void testNumHandlers | ( | size_t | numHandlers | ) |
Definition at line 80 of file LogCategoryTest.cpp.
References ASSERT_EQ, folly::DBG, folly::DBG1, folly::ERR, EXPECT_EQ, FB_LOG, folly::gen::first, handler(), messages, SCOPED_TRACE, folly::LoggerDB::TESTING, and folly::WARN.
Referenced by TEST().