proxygen
LogLevel.cpp File Reference
#include <folly/logging/LogLevel.h>
#include <array>
#include <cctype>
#include <ostream>
#include <folly/Conv.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Functions

LogLevel folly::stringToLogLevel (StringPiece name)
 
string folly::logLevelToString (LogLevel level)
 
std::ostream & folly::operator<< (std::ostream &os, LogLevel level)
 

Variable Documentation

StringPiece lowerPrefix

Definition at line 32 of file LogLevel.cpp.

LogLevel max

Definition at line 31 of file LogLevel.cpp.

Referenced by proxygen::QPACKHeaderTable::add(), folly::compression::BitVectorEncoder< Value, SkipValue, kSkipQuantum, kForwardQuantum >::add(), folly::compression::EliasFanoEncoderV2< Value, SkipValue, kSkipQuantum, kForwardQuantum >::add(), proxygen::HPACKEncodeBuffer::addHeadroom(), folly::PriorityLifoSemMPMCQueue< T, kBehavior >::addWithPriority(), PriorityExecutor::addWithPriority(), folly::RecordIOReader::Iterator::advanceToValid(), folly::Arena< Alloc >::allocateSlow(), folly::IOBufQueue::append(), folly::detail::atomic_notification::atomic_notify_all_impl(), folly::detail::atomic_notification::atomic_notify_one_impl(), bench(), benchmarkSet(), branchTestFunc(), PreCalculatedPrimeTable::CalculatePrimesUpTo(), folly::DynamicBoundedQueue< T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, WeightFn, Atom >::canEnqueue(), folly::detail::CheckOverflowToDuration< IsFloatingPoint >::check(), folly::detail::CheckOverflowToDuration< true >::check(), folly::detail::checkConversion(), folly::detail::fixedstring::checkOverflow(), folly::detail::fixedstring::checkOverflowOrNpos(), folly::detail::chronoRangeCheck(), folly::detail::TurnSequencer< std::atomic >::completeTurn(), folly::io::computeBufferLength(), folly::fbvector< HTTPHeaderCode >::computeInsertCapacity(), folly::fbvector< HTTPHeaderCode >::computePushBackCapacity(), folly::TimeseriesHistogram< T, CT, C >::computeRateData(), folly::constexpr_add_overflow_clamped(), folly::constexpr_clamp_cast(), folly::constexpr_sub_overflow_clamped(), folly::detail::convertTo(), fizz::detail::decFunc(), fizz::detail::decFuncBlocks(), proxygen::HPACKDecodeBuffer::decodeInteger(), proxygen::QPACKDecoder::decodeStreamingImpl(), testing::Cardinality::DescribeTo(), folly::NestedCommandLineApp::displayHelp(), doTokenBucketTest(), folly::io::StreamCodec::doUncompress(), proxygen::durationInitialized(), folly::detail::durationToPosixTime(), folly::BucketedTimeSeries< VT, CT >::elapsed(), fizz::detail::encFunc(), fizz::detail::encFuncBlocks(), proxygen::HTTP2Codec::encodeHeaders(), folly::DynamicBoundedQueue< T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, WeightFn, Atom >::enqueueImpl(), folly::io::Appender::ensure(), folly::NotificationQueue< folly::AsyncServerSocket::QueueMessage >::ensureSignalLocked(), folly::estimateSpaceNeeded(), fizz::detail::evpDecrypt(), fizz::detail::evpEncrypt(), folly::fbstring_core< Char >::expandNoinit(), folly::detail::distributed_mutex::extractAddress(), folly::symbolizer::FastStackTracePrinter::FastStackTracePrinter(), folly::fibers::Fiber::fiberFunc(), folly::detail::MemoryIdler::flushLocalMallocCaches(), proxygen::compress::CompressionSimulator::flushSchemePackets(), folly::format_value::formatFormatter(), folly::format_value::formatNumber(), proxygen::Window::free(), folly::compression::BitVectorEncoder< Value, SkipValue, kSkipQuantum, kForwardQuantum >::Layout::fromUpperBoundAndSize(), folly::compression::EliasFanoEncoderV2< Value, SkipValue, kSkipQuantum, kForwardQuantum >::Layout::fromUpperBoundAndSize(), folly::detail::MemoryIdler::futexWait(), folly::detail::MemoryIdler::futexWaitPreIdle(), folly::detail::futexWaitUntil(), folly::SharedMutexImpl< true >::futexWakeAll(), proxygen::SPDYCodec::generateGoaway(), proxygen::HTTP2Codec::generateGoaway(), proxygen::HTTP1xCodec::generateHeader(), folly::detail::HistogramBuckets< ValueType, ContainerType >::getBucketMax(), fizz::EncryptedReadRecordLayer::getDecryptedBuf(), folly::BucketedTimeSeries< VT, CT >::getEarliestTime(), folly::LogMessage::getFileBaseName(), proxygen::HTTPSession::getGracefulGoawayAck(), proxygen::RendezvousHash::getNthByWeightedHash(), folly::detail::HistogramBuckets< T, BucketT >::getPercentileEstimate(), folly::ThreadPoolExecutor::getPoolStats(), folly::compression::detail::UpperBitsReader< Encoder, Instructions, SizeType >::getPreviousInfo(), wangle::SSLUtil::getSubjectAltName(), folly::detail::MemoryIdler::getVariationTimeout(), proxygen::HTTPTransaction::incrementPendingByteEvents(), folly::AccessSpreader< Atom >::initialize(), folly::detail::SkipListRandomHeight::initLookupTable(), proxygen::HTTPParallelCodec::isReusable(), folly::compression::detail::UpperBitsReader< Encoder, Instructions, SizeType >::jump(), folly::detail::Bytes::longestCommonPrefix(), main(), folly::small_vector< Observer< T > *, InlineObservers >::makeSizeInternal(), folly::ThreadLocalPRNG::max(), folly::Random::SecureRNG< T >::max(), MmapAllocator< T >::max_size(), LoggingAlloc< T >::max_size(), folly::padded::Adaptor< IntNodeVec >::max_size(), folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::Accessor::max_size(), folly::basic_fbstring< char >::max_size(), folly::IndexedMemPool< T, NumLocalLists_, LocalListLimit_, Atom, Traits >::maxIndexForCapacity(), folly::TDigest::merge(), folly::RelaxedConcurrentPriorityQueue< T, MayBlock, SupportsSize, PopBatch, ListTargetSize, Mutex, Atom >::moundPop(), folly::TimeoutQueue::nextExpiration(), proxygen::SPDYCodec::onSettings(), folly::hasher< bool >::operator()(), folly::ParkingLot< Data >::park(), proxygen::HTTP2Codec::parseHeadersCheckConcurrentStreams(), proxygen::SPDYCodec::parseIngress(), HTTPUpstreamTest< SPDY3CodecPair >::parseOutput(), fizz::tool::portFromString(), folly::IOBufQueue::preallocate(), folly::IOBufQueue::preallocateSlow(), folly::printResultComparison(), std::chrono::PrintTo(), producer_consumer_test(), folly::TypedIOBuf< T >::push(), folly::BucketedTimeSeries< VT, CT >::rangeAdjust(), folly::io::detail::CursorBase< Cursor, const IOBuf >::readFixedString(), folly::fibers::Fiber::recordStackPosition(), proxygen::HTTP2PriorityQueue::Node::removeFromTree(), proxygen::Window::reserve(), folly::compression::detail::UpperBitsReader< Encoder, Instructions, SizeType >::reset(), folly::f14::resetTracking(), folly::futures::detail::retryingJitteredExponentialBackoffDur(), run_constexpr_clamp_cast_test(), runBench(), folly::runBenchmarkGetNSPerIteration(), runFairness(), folly::io::test::CompressionVarintTest::runSimpleTest(), folly::fibers::TimeoutController::runTimeouts(), folly::detail::TupleSelect< TemplateSeq< std::size_t, Ns... > >::select(), proxygen::Window::setCapacity(), folly::small_vector< Observer< T > *, InlineObservers >::setCapacity(), proxygen::HTTPSessionBase::setDefaultWriteBufferLimit(), wangle::LoadShedConfiguration::setMaxCpuUsage(), wangle::LoadShedConfiguration::setMaxMemUsage(), folly::NotificationQueue< folly::AsyncServerSocket::QueueMessage >::setMaxQueueSize(), folly::EvictingCacheMap< std::string, SSL_SESSION * >::setMaxSize(), wangle::LoadShedConfiguration::setMaxTcpMemUsage(), proxygen::HTTPParallelCodec::setNextEgressStreamId(), MockHTTPUpstreamTest::SetUp(), folly::AtomicHashMap< KeyT, ValueT, HashFcn, EqualFcn, Allocator, ProbeFcn, KeyConvertFcn >::spaceRemaining(), folly::detail::distributed_mutex::spin(), folly::detail::spin_yield_until(), folly::stripLeftMargin(), fizz::server::SlidingBloomReplayCache::test(), fizz::test::TEST(), TEST(), test(), TEST_F(), proxygen::TEST_F(), TEST_P(), fizz::server::SlidingBloomReplayCache::testAndSet(), folly::TestExecutor::TestExecutor(), testIntegral2String(), testRandom(), folly::compression::testSkipTo(), throughtput_test(), folly::detail::time_point_conv(), folly::to_signed(), folly::toAppend(), folly::bser::toBserIOBuf(), folly::RelaxedConcurrentPriorityQueue< T, MayBlock, SupportsSize, PopBatch, ListTargetSize, Mutex, Atom >::tryBlockingPop(), folly::MPMCQueue< T, Atom, true >::tryExpand(), folly::detail::tryPosixTimeToDuration(), folly::detail::TurnSequencer< std::atomic >::tryWaitForTurn(), folly::Baton< MayBlock, Atom >::tryWaitSlow(), folly::SaturatingSemaphore< MayBlock, Atom >::tryWaitSlow(), TYPED_TEST(), folly::f14::unlimitTestAllocations(), folly::fbstring_core< Char >::unshare(), folly::BucketedTimeSeries< VT, CT >::update(), folly::IOBufQueue::updateWritableTailCache(), folly::parking_lot_detail::WaitNodeBase::wait(), folly::SaturatingSemaphore< true, Atom >::wait(), folly::Baton< MayBlock, Atom >::wait(), folly::detail::LifoSemBase< BatonType, Atom >::wait(), folly::window(), fizz::EncryptedWriteRecordLayer::write(), and proxygen::http2::writeSettings().

LogLevel min

Definition at line 30 of file LogLevel.cpp.

Referenced by cpp.tokenize.Token::__str__(), proxygen::HeaderTable::add(), addValue(), folly::PriorityLifoSemMPMCQueue< T, kBehavior >::addWithPriority(), PriorityExecutor::addWithPriority(), folly::SimpleAllocator::allocate(), folly::SimpleAllocator::allocateHard(), folly::IOBufQueue::append(), folly::AtomicUnorderedInsertMap< Key, Value, Hash, KeyEqual, SkipKeyValueDeletion, Atom, IndexType, Allocator >::AtomicUnorderedInsertMap(), folly::BasicDynamicTokenBucket< Clock >::available(), bench(), benchmarkSet(), benchmarkSetup(), folly::HHWheelTimer::cancelAll(), folly::BlockingWriteServer::checkBuffer(), folly::detail::checkConversion(), folly::collectN(), folly::Range< unsigned char * >::compare(), folly::basic_fbstring< char >::compare(), folly::gen::detail::Min< Selector, Comparer >::compose(), folly::io::computeBufferLength(), folly::small_vector< Observer< T > *, InlineObservers >::computeNewSize(), folly::detail::MPMCQueueBase< Derived< T, Atom, Dynamic > >::computeStride(), folly::constexpr_add_overflow_clamped(), folly::constexpr_clamp_cast(), folly::constexpr_sub_overflow_clamped(), folly::BasicDynamicTokenBucket< Clock >::consumeImpl(), folly::detail::convertTo(), folly::IOBuf::createChain(), testing::internal::edit_distance::CreateUnifiedDiff(), folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::Skipper::curHeight(), folly::AccessSpreader< Atom >::current(), folly::LockFreeRingBuffer< T, Atom >::currentTail(), proxygen::GzipHeaderCodec::decode(), folly::detail::LifoSemBase< BatonType, Atom >::decrOrPush(), fizz::AsyncFizzBase::deliverAppData(), fizz::KeyDerivationImpl< Hash >::deriveSecret(), testing::Cardinality::DescribeTo(), folly::io::StreamCodec::doUncompress(), folly::detail::durationToPosixTime(), folly::BucketedTimeSeries< VT, CT >::elapsed(), folly::detail::TurnSequencer< std::atomic >::encode(), folly::basic_fbstring< E, T, A, Storage >::find_last_not_of(), folly::basic_fbstring< E, T, A, Storage >::find_last_of(), folly::recordio_helpers::findRecord(), proxygen::compress::CompressionSimulator::flushSchemePackets(), folly::format_value::formatFormatter(), folly::format_value::formatString(), proxygen::Window::free(), folly::compression::EliasFanoEncoderV2< Value, SkipValue, kSkipQuantum, kForwardQuantum >::Layout::fromUpperBoundAndSize(), folly::io::RWCursor< access >::gatherAtMost(), proxygen::HTTP2Codec::generateContinuation(), proxygen::HTTP2Codec::generateHeaderImpl(), proxygen::HTTP2Codec::generateTrailers(), folly::SocketAddress::getAddressStr(), folly::detail::HistogramBuckets< ValueType, ContainerType >::getBucketMin(), proxygen::HTTPSessionBase::getLatestIdleTime(), proxygen::HTTPSessionBase::getMaxConcurrentOutgoingStreams(), proxygen::HTTPSession::getNextToSend(), folly::detail::HistogramBuckets< T, BucketT >::getPercentileEstimate(), folly::SSLClient::getReadBuffer(), cpp.tokenize::GetTokens(), folly::detail::hexDumpLine(), folly::IOBufCompare::impl(), folly::MemoryMapping::init(), folly::detail::Bytes::longestCommonPrefix(), proxygen::HTTP2Codec::mapPriorityToDependency(), folly::IndexedMemPool< T, NumLocalLists_, LocalListLimit_, Atom, Traits >::maxAllocatedIndex(), folly::IndexedMemPool< T, NumLocalLists_, LocalListLimit_, Atom, Traits >::maxIndexForCapacity(), folly::TDigest::merge(), folly::ThreadLocalPRNG::min(), folly::Random::SecureRNG< T >::min(), multiAttemptExpectDurationWithin(), folly::test::UniformSubset::operator()(), folly::gen::StreamSplitter< Callback >::operator()(), folly::pushmi::time_item_process_pred_fn< E, TP >::operator()(), folly::LogCategory::parentLevelUpdated(), proxygen::parse(), proxygen::RFC1867Base::parse(), proxygen::http2::parseDataEnd(), proxygen::HTTP2Codec::parseDataFrameData(), proxygen::SPDYCodec::parseIngress(), folly::parseLeadingNumber(), proxygen::ParseURL::parseNonFully(), proxygen::parseUnidirectional(), fizz::passwordCallback(), folly::SSLContext::passwordCallback(), folly::AsyncSSLSocket::performWrite(), folly::RelaxedConcurrentPriorityQueue< T, MayBlock, SupportsSize, PopBatch, ListTargetSize, Mutex, Atom >::popToSharedBuffer(), producer_consumer_test(), folly::io::QueueAppender::pushAtMost(), folly::detail::qfind_first_byte_of_sse42(), folly::BucketedTimeSeries< VT, CT >::rangeAdjust(), HTTPUpstreamTest< SPDY3CodecPair >::readAndLoop(), folly::readFile(), ReadStats::ReadStats(), folly::basic_fbstring< char >::replace(), folly::fibers::TaskIterator< T >::reserve(), folly::futures::detail::retryingJitteredExponentialBackoffDur(), folly::basic_fbstring< E, T, A, Storage >::rfind(), run_constexpr_clamp_cast_test(), runBench(), folly::io::test::CompressionVarintTest::runSimpleTest(), folly::fibers::TimeoutController::runTimeouts(), proxygen::HTTPHandlerBase::sendBody(), proxygen::HTTPHandlerBase::sendChunkedReplyWithBody(), proxygen::HTTPMessage::setHTTPVersion(), folly::LogCategory::setLevelLocked(), wangle::LoadShedConfiguration::setMinCpuIdle(), wangle::LoadShedConfiguration::setMinFreeMem(), wangle::LoadShedConfiguration::setMinFreeTcpMemPct(), folly::ThreadPoolExecutor::setNumThreads(), folly::test::UniformSubset::shufflePrefix(), folly::detail::SlidingWindow< BucketT >::slide(), folly::detail::spin_pause_until(), folly::io::test::StreamingCompressionTest::split(), folly::strlcpy(), deadlock::strongly_connected_components(), folly::Range< unsigned char * >::subpiece(), folly::basic_fbstring< char >::substr(), TEST(), test(), folly::TEST(), TEST_F(), proxygen::TEST_F(), testConnectOptWrite(), testIntegral2String(), testRandom(), throughtput_test(), folly::symbolizer::Dwarf::Path::toBuffer(), folly::toLowerAscii(), fizz::transformBuffer(), fizz::transformBufferBlocks(), fizz::trimBytes(), folly::UnboundedQueue< T, false, 6 >::try_dequeue(), folly::UnboundedQueue< T, false, 6 >::try_peek(), folly::DynamicBoundedQueue< T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, WeightFn, Atom >::tryEnqueueImpl(), folly::MPMCQueue< T, Atom, true >::tryExpand(), type_pretty_name(), TYPED_TEST(), folly::Range< unsigned char * >::uncheckedSubpiece(), ReadCallback::verifyData(), folly::window(), folly::IOBufQueue::wrapBuffer(), and folly::PriorityMPMCQueue< T, Atom, Dynamic >::writeWithPriority().

StringPiece upperPrefix

Definition at line 33 of file LogLevel.cpp.