Ignore:
Timestamp:
05/16/15 17:40:16 (10 years ago)
Author:
epyon
Message:
  • overhaul of logging: no longer stream operated no longer using STL no memory allocation shorthand macros fast file and console I/O
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:global-ignores set to
      vs2012
      vs2013
      gmake
      gmake-clang
  • trunk/src/formats/md2_loader.cc

    r319 r365  
    155155        }
    156156
    157         NV_LOG( LOG_INFO, "num_skins    = " << md2->header.num_skins );
    158         NV_LOG( LOG_INFO, "num_vertices = " << md2->header.num_vertices );
    159         NV_LOG( LOG_INFO, "num_st       = " << md2->header.num_st );
    160         NV_LOG( LOG_INFO, "num_tris     = " << md2->header.num_tris );
    161         NV_LOG( LOG_INFO, "num_frames   = " << md2->header.num_frames );
     157        NV_LOG_INFO( "num_skins    = ", md2->header.num_skins );
     158        NV_LOG_INFO( "num_vertices = ", md2->header.num_vertices );
     159        NV_LOG_INFO( "num_st       = ", md2->header.num_st );
     160        NV_LOG_INFO( "num_tris     = ", md2->header.num_tris );
     161        NV_LOG_INFO( "num_frames   = ", md2->header.num_frames );
    162162
    163163
     
    295295        }
    296296
    297         NV_LOG( LOG_INFO, "New vertex count = " << m_new_vindexes.size() );
    298         NV_LOG( LOG_INFO, "Collisions       = " << stats_collision );
    299         NV_LOG( LOG_INFO, "Reuse count      = " << stats_reuse );
     297        NV_LOG_INFO( "New vertex count = ", m_new_vindexes.size() );
     298        NV_LOG_INFO( "Collisions       = ", stats_collision );
     299        NV_LOG_INFO( "Reuse count      = ", stats_reuse );
    300300}
    301301
     
    335335        {
    336336                const md2_frame_t& cframe = md2->frames[current_frame];
    337                 NV_LOG( LOG_INFO, "FrameID = " << cframe.name );
     337                NV_LOG_INFO( "FrameID = ", cframe.name );
    338338
    339339                vec3 scale     = md2_vec3( cframe.scale );
Note: See TracChangeset for help on using the changeset viewer.