Changeset 120 for trunk/IPs/systemC/processor/Morpheo/Common
- Timestamp:
- May 26, 2009, 9:01:47 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Common/include/Message.h
r113 r120 43 43 #endif 44 44 45 extern bool log_with_pid; 45 46 extern FILE * log_stream; 47 46 48 FILE * log (FILE * stream); 47 49 void log_init (bool have_file, 50 bool with_pid , 48 51 std::string directory, 49 52 std::string file=""); -
trunk/IPs/systemC/processor/Morpheo/Common/src/Message.cpp
r115 r120 15 15 16 16 static bool log_initialized; 17 bool log_with_pid; 17 18 FILE * log_stream; 18 19 … … 28 29 #define FUNCTION "log_init" 29 30 void log_init (bool have_file, 31 bool with_pid , 30 32 std::string directory, 31 33 std::string file) … … 34 36 { 35 37 log_initialized = true; 36 38 log_with_pid = with_pid; 39 37 40 if (have_file) 38 41 { … … 43 46 "log", 44 47 (file==""), 45 (file==""),48 with_pid, 46 49 true); 47 50
Note: See TracChangeset
for help on using the changeset viewer.