Intra2net AG

log.hxx File Reference

#include <iostream>
#include <sstream>
Include dependency graph for log.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LOGGING
#define LOGSTREAM(level, pipe)
#define OBJLOGSTREAM(obj, level, pipe)
#define EXCEPTIONSTREAM(loglevel, exception, pipe)

Define Documentation

#define EXCEPTIONSTREAM ( loglevel,
exception,
pipe   ) 
#define LOGGING
#define LOGSTREAM ( level,
pipe   ) 
#define OBJLOGSTREAM ( obj,
level,
pipe   ) 
Value:
do { \
                std::ostream* streamptr; \
                if ((streamptr=obj.get_logstream(level))!=NULL) \
                    (*streamptr) << pipe << std::endl; \
            } while (0)

Referenced by libt2n::command_server::handle_packet().


Generated on 13 May 2015 by  doxygen 1.6.1
© Intra2net AG 2024 | Legal | Contact