CMS 3D CMS Logo

List of all members | Public Member Functions
cms::cuda::LogPrint Class Reference

#include <MessageLogger.h>

Inheritance diagram for cms::cuda::LogPrint:
cms::cuda::MessageLogger

Public Member Functions

 LogPrint (std::string const &category)
 
 LogPrint (std::string &&category)
 
 ~LogPrint ()
 
- Public Member Functions inherited from cms::cuda::MessageLogger
 MessageLogger (std::string const &category)
 
 MessageLogger (std::string &&category)
 
 MessageLogger (MessageLogger const &)=delete
 
 MessageLogger (MessageLogger &&)=delete
 
template<typename T >
MessageLoggeroperator<< (T const &element)
 
MessageLoggeroperator= (MessageLogger const &)=delete
 
MessageLoggeroperator= (MessageLogger &&)=delete
 
 ~MessageLogger ()=default
 

Additional Inherited Members

- Protected Attributes inherited from cms::cuda::MessageLogger
std::string category_
 
std::stringstream message_
 

Detailed Description

Definition at line 82 of file MessageLogger.h.

Constructor & Destructor Documentation

◆ LogPrint() [1/2]

cms::cuda::LogPrint::LogPrint ( std::string const &  category)
inline

Definition at line 84 of file MessageLogger.h.

◆ LogPrint() [2/2]

cms::cuda::LogPrint::LogPrint ( std::string &&  category)
inline

Definition at line 85 of file MessageLogger.h.

MessageLogger(std::string const &category)
Definition: MessageLogger.h:18
def move(src, dest)
Definition: eostools.py:511

◆ ~LogPrint()

cms::cuda::LogPrint::~LogPrint ( )

Definition at line 18 of file MessageLogger.cc.

References cms::cuda::MessageLogger::category_, and cms::cuda::MessageLogger::message_.

18 { edm::LogPrint(category_) << message_.str(); }
Log< level::Warning, true > LogPrint
std::stringstream message_
Definition: MessageLogger.h:37