Changeset 104 for cpp/gdk/framsg.cpp


Ignore:
Timestamp:
07/23/13 18:15:30 (11 years ago)
Author:
sz
Message:

introducing object de/serialization - see serialtest.cpp
the core GDK classes can be now used in multiple threads (ifdef MULTITHREADED)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/gdk/framsg.cpp

    r82 r104  
    1111#endif
    1212
    13 static const char *warn="[warn] ";
    14 static const char *err="[ERROR] ";
     13char* MSG_LEVEL[]={"DEBUG","INFO","WARN","ERROR","CRITICAL"};
    1514
    1615/* TODO integracja z error managerem
    1716void FramMessage(const char *o,const char *m,const char *bl,int w)
    1817{
    19   const char *lvl="";
    20   if (w==1) lvl=warn; else if (w>1) lvl=err;
     18  const char *lvl=MSG_LEVEL[w+1];
    2119#ifdef SHP
    2220  //jesli chcemy zeby nawet w trybie release wysylal komunikaty:
Note: See TracChangeset for help on using the changeset viewer.