Output2FILE Class Reference

#include <Log.hh>

List of all members.

Static Public Member Functions

static FILE *& Stream ()
static void Output (const std::string &msg)


Detailed Description

Definition at line 91 of file Log.hh.


Member Function Documentation

FILE *& Output2FILE::Stream (  )  [inline, static]

Definition at line 97 of file Log.hh.

Referenced by Output().

00098 {
00099     //static FILE* pStream = stderr;
00100     static FILE* pStream = stdout;
00101     return pStream;
00102 }

void Output2FILE::Output ( const std::string &  msg  )  [inline, static]

Definition at line 104 of file Log.hh.

00105 {   
00106     FILE* pStream = Stream();
00107     if (!pStream)
00108         return;
00109     fprintf(pStream, "%s", msg.c_str());
00110     fflush(pStream);
00111 }


The documentation for this class was generated from the following file:
Generated on Mon Jan 7 13:18:59 2013 for MicromegasFramework by  doxygen 1.4.7