From 72271dae6da825fd767277c6af02d3e138e832af Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 8 Jan 2014 13:07:56 +0000 Subject: [PATCH] more compact trace output --- libvips/iofuncs/cache.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libvips/iofuncs/cache.c b/libvips/iofuncs/cache.c index 18ea06c5..b25f5949 100644 --- a/libvips/iofuncs/cache.c +++ b/libvips/iofuncs/cache.c @@ -692,8 +692,7 @@ vips_cache_operation_buildp( VipsOperation **operation ) if( (hit = g_hash_table_lookup( vips_cache_table, *operation )) ) { if( vips__cache_trace ) { - printf( "vips cache: found old operation\n" ); - printf( "\t" ); + printf( "vips cache-: " ); vips_object_print_summary( VIPS_OBJECT( hit ) ); } @@ -716,10 +715,9 @@ vips_cache_operation_buildp( VipsOperation **operation ) if( vips__cache_trace ) { if( vips_operation_get_flags( *operation ) & VIPS_OPERATION_NOCACHE ) - printf( "vips cache: uncacheable\n" ); + printf( "vips cache : " ); else - printf( "vips cache: caching new operation\n" ); - printf( "\t" ); + printf( "vips cache+: " ); vips_object_print_summary( VIPS_OBJECT( *operation ) ); }