diff options
author | Josh Blum | 2012-09-15 13:07:21 -0400 |
---|---|---|
committer | Josh Blum | 2012-09-15 13:07:21 -0400 |
commit | 052d953abfe9183b1ac5384d0ca494c1162b2cef (patch) | |
tree | 276d579a30e87428aea168a82e3e0f5524c7d8b2 /lib/top_block.cpp | |
parent | f91c377f1636afb42cadea0da5f34cef545d1ef2 (diff) | |
download | sandhi-052d953abfe9183b1ac5384d0ca494c1162b2cef.tar.gz sandhi-052d953abfe9183b1ac5384d0ca494c1162b2cef.tar.bz2 sandhi-052d953abfe9183b1ac5384d0ca494c1162b2cef.zip |
use cerr for all of the debug prints
Diffstat (limited to 'lib/top_block.cpp')
-rw-r--r-- | lib/top_block.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/top_block.cpp b/lib/top_block.cpp index f3e1fc8..3231055 100644 --- a/lib/top_block.cpp +++ b/lib/top_block.cpp @@ -33,7 +33,7 @@ TopBlock::TopBlock(const std::string &name): (*this)->executor = tsbe::Executor(config); (*this)->token = Token::make(); (*this)->thread_group = SharedThreadGroup(new boost::thread_group()); - if (GENESIS) std::cout + if (GENESIS) std::cerr << "===================================================\n" << "== Top Block Created: " << name << "\n" << "===================================================\n" @@ -45,7 +45,7 @@ void ElementImpl::top_block_cleanup(void) TopBlockMessage event; event.what = TopBlockMessage::INERT; this->executor.post_msg(event); - if (ARMAGEDDON) std::cout + if (ARMAGEDDON) std::cerr << "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" << "xx Top Block Destroyed: " << name << "\n" << "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" |