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 98 of file Log.hh.
Referenced by Output().
00099 {
00100
00101 static FILE* pStream = stdout;
00102 return pStream;
00103 }
void Output2FILE::Output |
( |
const std::string & |
msg |
) |
[inline, static] |
Definition at line 105 of file Log.hh.
00106 {
00107 FILE* pStream = Stream();
00108 if (!pStream)
00109 return;
00110 fprintf(pStream, "%s", msg.c_str());
00111 fflush(pStream);
00112 }
The documentation for this class was generated from the following file:
- /Users/jacquem/NetBeansProjects/MicromegasFramework/trunk/include/Log.hh