Changeset 375 for cpp/frams/neuro


Ignore:
Timestamp:
04/26/15 00:59:09 (10 years ago)
Author:
Maciej Komosinski
Message:

Renamed logging functions to more intuitive and simple names

Location:
cpp/frams/neuro
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/neuro/neurofactory.cpp

    r372 r375  
    9898        }
    9999if (removed.len())
    100         Hprintf("NeuroFactory","removeUninmplemented",HMLV_INFO,
     100        logPrintf("NeuroFactory","removeUninmplemented",LOG_INFO,
    101101         "Removed Neuro classes: %s",removed.c_str());
    102102}
  • cpp/frams/neuro/neuroimpl.cpp

    r372 r375  
    7272        n->userdata[mytags_id]=ni;
    7373        if (!ni) { errorcount++;
    74                 Hprintf("NeuroNetImpl","create",HMLV_WARN,"neuron #%d (%s) implementation not available",
     74                logPrintf("NeuroNetImpl","create",LOG_WARN,"neuron #%d (%s) implementation not available",
    7575                         i,n->getClassName().c_str());
    7676                continue; } // implementation not available?!
     
    8787        if (!ni->lateinit())
    8888                { ni->status=NeuroImpl::InitError; errorcount++;
    89                 Hprintf("NeuroNetImpl","create",HMLV_WARN,"neuron #%d (%s) initialization failed",
     89                logPrintf("NeuroNetImpl","create",LOG_WARN,"neuron #%d (%s) initialization failed",
    9090                         i,n->getClassName().c_str());
    9191                continue; }
  • cpp/frams/neuro/neuroimpl.h

    r372 r375  
    88#include <frams/model/model.h>
    99#include <frams/param/param.h>
    10 #include <common/hmessage.h>
     10#include <common/log.h>
    1111#ifdef NEURO_SIGNALS
    1212#include <frams/simul/signals.h>
Note: See TracChangeset for help on using the changeset viewer.