Skip to content
  • Damien Lucas's avatar
    . First part of a new way to logg messages · 8f210a93
    Damien Lucas authored
    . VS_log_debug, Vs_log_info, work still but should not be used any more
    . config/ db/ and snmp/ are now clear.
    
    . The new debug function is
     ERR_CODE VS_log(LOG_LEVELS level, LOG_LODULES module, char* msg...);
     where level can be LOGDEBUG, LOGINFO, LOGWARNING, LOGERROR or LOGFATAL
           module can be CFG, DB, SERVER or SNMP
     last arguments work jsut like a printf.
    8f210a93