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/core/library.cc

    r319 r365  
    7171        return true;
    7272    }
    73     NV_LOG( LOG_NOTICE, "library : loading '" + m_name + "'..." );
     73    NV_LOG_NOTICE( "library : loading '", m_name, "'..." );
    7474
    7575    string name = m_name;
     
    8686    if ( m_handle == NULL )
    8787    {
    88                 NV_LOG( LOG_NOTICE, "library : '" + name + "' failed to open." );
     88                NV_LOG_NOTICE( "library : '", name, "' failed to open." );
    8989                return false;
    9090    }
    91     NV_LOG( LOG_NOTICE, "library : '" + name + "' loaded." );
     91    NV_LOG_NOTICE( "library : '", name, "' loaded." );
    9292        return true;
    9393}
     
    117117    if ( NV_LIB_CLOSE( (NV_LIB_HANDLE)m_handle ) )
    118118    {
    119         NV_LOG( LOG_ERROR, "library : can't close library '" + m_name + "'!" );
     119        NV_LOG_ERROR( "library : can't close library '", m_name, "'!" );
    120120    }
    121121    m_handle = NULL;
Note: See TracChangeset for help on using the changeset viewer.