Skip to content

Struct rayx::Log

ClassList > rayx > Log

More...

  • #include <Debug.h>

Public Functions

Type Name
Log (std::string filename, int line)
Log & operator<< (T t)
~Log ()

Detailed Description

In the following we define RAYX_LOG: prints to std::cout RAYX_EXIT: prints to std::cerr ... and their debug-only variants RAYX_D_LOG, RAYX_D_ERR.

example usage: RAYX_LOG << "I am " << age << " years old";

Public Functions Documentation

function Log

rayx::Log::Log (
    std::string filename,
    int line
) 

function operator<<

template<typename T>
inline Log & rayx::Log::operator<< (
    T t
) 

function ~Log

rayx::Log::~Log () 


The documentation for this class was generated from the following file Intern/rayx-core/src/Debug/Debug.h