Changeset 11470 for trunk/FACT++/src
- Timestamp:
- 07/19/11 16:38:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Main.h
r11401 r11470 57 57 win << kRed << "ERROR - Couldn't open log-file " << conf.Get<string>("log") << ": " << strerror(errno) << endl; 58 58 59 60 59 S io_service(wout); 61 60 61 const boost::filesystem::path path(conf.GetName()); 62 63 const string pname = path.parent_path().string(); 64 const string fname = path.filename(); 65 62 66 const Time now; 63 io_service.Write(now, "/--------------------------- Program ----------------------------"); 64 io_service.Write(now, "| Program: "PACKAGE_STRING" ("+conf.GetName()+")"); 67 io_service.Write(now, "/----------------------- Program ------------------------"); 68 io_service.Write(now, "| Program: "PACKAGE_STRING" ("+fname+")"); 69 io_service.Write(now, "| CallPath: "+pname); 65 70 io_service.Write(now, "| Compiled: "__DATE__" "__TIME__); 66 71 io_service.Write(now, "| Revision: "REVISION); … … 68 73 io_service.Write(now, "| URL: "PACKAGE_URL); 69 74 io_service.Write(now, "| Start: "+now.GetAsStr("%c")); 70 io_service.Write(now, "\\----------------------- ---- Options ----------------------------");75 io_service.Write(now, "\\----------------------- Options ------------------------"); 71 76 const multimap<string,string> map = conf.GetOptions(); 72 77 for (multimap<string,string>::const_iterator it=map.begin(); it!=map.end(); it++) 73 78 io_service.Write(now, ": "+it->first+(it->second.empty()?"":" = ")+it->second); 74 io_service.Write(now, "\\------------------- ---- Evaluating options ---------------------");79 io_service.Write(now, "\\------------------- Evaluating options -----------------"); 75 80 76 81 const int rc = io_service.EvalConfiguration(conf); 77 io_service.Message("==================== ==== Starting main loop =====================");82 io_service.Message("==================== Starting main loop ================="); 78 83 if (rc>=0) 79 84 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.