more compact trace output

This commit is contained in:
John Cupitt 2014-01-08 13:07:56 +00:00
parent cc8e06db0b
commit 72271dae6d
1 changed files with 3 additions and 5 deletions

View File

@ -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 ) );
}