Back to index

natlog  0.91.0
natfork1.cc
Go to the documentation of this file.
00001 #include "natfork.ih"
00002 
00003 NatFork::NatFork()
00004 :
00005     d_options(Options::instance()),
00006     d_stdMsg(&d_multiStreambuf)
00007 {
00008     setupStdMsg();
00009 
00010     if (d_options.daemon())
00011         setupDaemonMsg();
00012     else
00013         setupNonDaemonMsg();
00014 
00015 
00016     if (d_options.timeSpecError().length() == 0)
00017         imsg << "Using time type `" << d_options.timeTxt() << '\'' << endl;
00018     else
00019         wmsg << "Time specifcation `" << d_options.timeSpecError() <<
00020                 "' not supported. Using `" << d_options.timeTxt() << 
00021                 "' instead" << endl;
00022 }