NVIDIA IndeX: Base API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ilogger.h File Reference

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

#include <cstdarg>
#include <cstdio>
#include <ostream>
#include <sstream>
#include <string>
#include <mi/base/config.h>
#include <mi/base/enums.h>
#include <mi/base/handle.h>
#include <mi/base/iinterface.h>
#include <mi/base/interface_declare.h>

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_streambuf
 
class  mi::base::Log_stream
 Adapts mi::base::ILogger to a standard streaming interface. More...
 

Namespaces

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

Constant Groups

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

Typedefs

typedef Message_tag mi::base::msg::Tag
 
typedef Message_details mi::base::msg::Details
 

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
}
 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...
 
Details mi::base::msg::tag_details (const Uint32 tags)
 
Details mi::base::msg::device_details (const Sint32 device=Details::DEVICE_ID_UNKNOWN_CUDA, const Uint32 tags=TAG_NONE)
 

Detailed Description

Logger interface class that supports message logging.

See Logging.