Skip to content

Commit

Permalink
Add node name to the output in rosout.log. Fix #912.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcjh authored and dirk-thomas committed Feb 22, 2017
1 parent 2474592 commit bc9222a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/rosout/rosout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ class Rosout
ss << msg->level << " ";
}

ss << "[" << msg->file << ":" << msg->line << "(" << msg->function << ") ";
ss << msg->name << " ";
ss << "[" << msg->file << ":" << msg->line << "(" << msg->function << ")] ";

ss << "[topics: ";
std::vector<std::string>::const_iterator it = msg->topics.begin();
Expand Down

0 comments on commit bc9222a

Please sign in to comment.