userver: userver/logging/log_helper.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
log_helper.hpp File Reference
#include <chrono>
#include <exception>
#include <iosfwd>
#include <iterator>
#include <memory>
#include <optional>
#include <string_view>
#include <system_error>
#include <type_traits>
#include <userver/formats/common/meta.hpp>
#include <userver/logging/fwd.hpp>
#include <userver/logging/level.hpp>
#include <userver/logging/log_extra.hpp>
#include <userver/utils/impl/source_location.hpp>
#include <userver/utils/meta.hpp>
+ Include dependency graph for log_helper.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  logging::Hex
 Formats value in a hex mode with the fixed length representation. More...
 
struct  logging::HexShort
 
struct  logging::Quoted
 Formats a string as quoted, escaping the '\' and '"' symbols. More...
 
class  logging::LogHelper
 

Namespaces

namespace  logging
 Logging macro and utilities.
 

Functions

LogHelperlogging::operator<< (LogHelper &lh, std::error_code ec)
 
template<typename T >
LogHelperlogging::operator<< (LogHelper &lh, const std::atomic< T > &value)
 
template<typename T >
LogHelperlogging::operator<< (LogHelper &lh, const T *value) noexcept
 
template<typename T >
LogHelperlogging::operator<< (LogHelper &lh, T *value)
 
template<typename T >
LogHelperlogging::operator<< (LogHelper &lh, const std::optional< T > &value)
 
template<class Result , class... Args>
LogHelperlogging::operator<< (LogHelper &lh, Result(*)(Args...))
 
LogHelperlogging::operator<< (LogHelper &lh, std::chrono::system_clock::time_point tp)
 
LogHelperlogging::operator<< (LogHelper &lh, std::chrono::seconds value)
 
LogHelperlogging::operator<< (LogHelper &lh, std::chrono::milliseconds value)
 
LogHelperlogging::operator<< (LogHelper &lh, std::chrono::microseconds value)
 
LogHelperlogging::operator<< (LogHelper &lh, std::chrono::nanoseconds value)
 
LogHelperlogging::operator<< (LogHelper &lh, std::chrono::minutes value)
 
LogHelperlogging::operator<< (LogHelper &lh, std::chrono::hours value)
 

Detailed Description

Definition in file log_helper.hpp.