From e15521d96b21cb0c771cce7cbe2ceb38f27c8844 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 7 Mar 2012 17:22:58 -0600 Subject: Add source code module name to stdout/stderr messages to improve readability. --- kjs/nodes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kjs/nodes.cpp') diff --git a/kjs/nodes.cpp b/kjs/nodes.cpp index c6ee18bf1..6bb6cfaae 100644 --- a/kjs/nodes.cpp +++ b/kjs/nodes.cpp @@ -154,10 +154,10 @@ void Node::finalCheck() fprintf(stderr, "Node::finalCheck(): list 0\n"); return; } - fprintf( stderr, "Node::finalCheck(): list count : %d\n", (int)s_nodes->size() ); + fprintf( stderr, "[nodes] Node::finalCheck(): list count : %d\n", (int)s_nodes->size() ); std::list::iterator it = s_nodes->begin(); for ( uint i = 0; it != s_nodes->end() ; ++it, ++i ) - fprintf( stderr, "[%d] Still having node %p (%s) (refcount %d)\n", i, (void*)*it, typeid( **it ).name(), (*it)->refcount ); + fprintf( stderr, "[nodes] [%d] Still having node %p (%s) (refcount %d)\n", i, (void*)*it, typeid( **it ).name(), (*it)->refcount ); delete s_nodes; s_nodes = 0L; } -- cgit v1.2.1