Orxonox: src/util/OutputHandler.h File Reference

# OutputHandler.h File Reference

Definition of the OutputHandler class. More...

`#include "UtilPrereqs.h"`
`#include <iostream>`
`#include <fstream>`
`#include <string>`
`#include "OutputBuffer.h"`

## Namespaces

namespace | orxonox

## Classes

class | orxonox::OutputHandler
| The OutputHandler acts like std::cout, but redirects output to the console, the logfile and the ingame shell. More...

## Functions

template<class T>
OutputHandler & | orxonox::operator<< (OutputHandler &out, const T &output)
| Overloading of the non-member << operator to redirect the output of classes with self defined '<< to std::ostream' operators to the console and the logfile.

## Detailed Description

Definition of the OutputHandler class.

The OutputHandler acts like std::cout, but output isn't only shown in the console, but also written to the logfile and the ingame shell.