medium sized dollop
[vg.git] / src / vg / vg_store.h
index 00a8540568996fb2933f2d21e6f114a20832bd9c..ee0e91acf04d3e94579b1f62c7dfafda8d322a9d 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "vg_stdint.h"
 #include "vg_io.h"
+#include "vg_log.h"
 
 /* 
  * Anderson tree implementation with extensions:
@@ -562,10 +563,10 @@ static void aatree_show_r( aatree *tree, aatree_ptr t, int lvl,
 
       for( int i=0; i<lvl; i++ )
       {
-         vg_log( "  " );
+         vg_info( "  " );
       }
       p_show( data );
-      vg_log( " (%d) \n", t );
+      vg_info( " (%d) \n", t );
 
       aatree_show_r( tree, ptnode->right, lvl+1, p_show );
    }
@@ -581,10 +582,10 @@ static void aatree_show( aatree *tree, aatree_ptr t, void(*p_show)(void *data))
 
       for( int i=0; i<ptnode->level; i++ )
       {
-         vg_log( "  " );
+         vg_info( "  " );
       }
       p_show( data );
-      vg_log( " (%d) \n", t );
+      vg_info( " (%d) \n", t );
 
       aatree_show( tree, ptnode->right, p_show );
    }
@@ -603,7 +604,7 @@ static void aatree_show_counts( aatree *tree, aatree_ptr t, int lvl, int *ln,
 
    aatree_show_counts( tree, ptnode->left, lvl+1, ln, err, p_show, show );
 
-   if( show ) vg_log( "%03d| ", *ln );
+   if( show ) vg_info( "%03d| ", *ln );
    *ln = *ln +1;
 
    if( show ) 
@@ -629,7 +630,7 @@ static void aatree_show_counts( aatree *tree, aatree_ptr t, int lvl, int *ln,
    if( !aatree_verify( tree, t ) )
    {
       if( show )
-         vg_log( "error\n" );
+         vg_info( "error\n" );
       *err = 1;
    }