Base API nvidia_logo_transpbg.gif Up
ilogger.h File Reference

Logger interface class that supports message logging. More...

Go to the source code of this file.

Classes

struct  mi::base::Message_details
 Structured details to log messages. More...
 
class  mi::base::ILogger
 The ILogger interface class supports logging of messages. More...
 
class  mi::base::Log_stream
 Adapts mi::base::ILogger to a standard streaming interface. More...
 

Namespaces

namespace  mi
 Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
 
namespace  mi::base
 Namespace for the Base API.
 
namespace  mi::base::details
 Namespace for details of the Base API.
 

Enumerations

enum  mi::base::details::Message_tag {
  mi::base::details::TAG_NONE = 0u ,
  mi::base::details::TAG_COMPATIBILITY = 1u << 0 ,
  mi::base::details::TAG_UNRECOVERABLE = 1u << 1 ,
  mi::base::details::TAG_API_INPUT = 1u << 2 ,
  mi::base::details::TAG_API_USAGE = 1u << 3 ,
  mi::base::details::TAG_VERSIONING = 1u << 4 ,
  mi::base::details::TAG_SYSTEM_RESOURCE = 1u << 5 ,
  mi::base::details::TAG_MEMORY = 1u << 6 ,
  mi::base::details::TAG_FILE = 1u << 7 ,
  mi::base::details::TAG_STATS = 1u << 8 ,
  mi::base::details::TAG_UNAVAILABLE = 1u << 9
}
 Tags which help categorize log messages. More...
 

Functions

template<typename C , typename T>
std::basic_ostream<C, T> & mi::base::fatal (std::basic_ostream<C, T> &ostream)
 Manipulator for mi::base::Log_stream. More...
 
template<typename C , typename T>
std::basic_ostream<C, T> & mi::base::error (std::basic_ostream<C, T> &ostream)
 Manipulator for mi::base::Log_stream. More...
 
template<typename C , typename T>
std::basic_ostream<C, T> & mi::base::warning (std::basic_ostream<C, T> &ostream)
 Manipulator for mi::base::Log_stream. More...
 
template<typename C , typename T>
std::basic_ostream<C, T> & mi::base::info (std::basic_ostream<C, T> &ostream)
 Manipulator for mi::base::Log_stream. More...
 
template<typename C , typename T>
std::basic_ostream<C, T> & mi::base::verbose (std::basic_ostream<C, T> &ostream)
 Manipulator for mi::base::Log_stream. More...
 
template<typename C , typename T>
std::basic_ostream<C, T> & mi::base::debug (std::basic_ostream<C, T> &ostream)
 Manipulator for mi::base::Log_stream. More...
 
template<typename C , typename T>
std::basic_ostream<C, T> & mi::base::operator<< (std::basic_ostream<C, T> &ostream, const Message_details &md)
 Manipulator for mi::base::Log_stream. More...
 

Detailed Description

Logger interface class that supports message logging.

See Logging.