Changeset 10288 for trunk/FACT++


Ignore:
Timestamp:
04/05/11 11:27:01 (14 years ago)
Author:
tbretz
Message:
Added Debug() member functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/MessageImp.h

    r10183 r10288  
    3535    int Update(int qos, const char *fmt, ...);
    3636
     37    int Debug(const char *txt)   { return Update(txt, kDebug); }
    3738    int Message(const char *txt) { return Update(txt, kMessage); }
    3839    int Info(const char *txt)    { return Update(txt, kInfo);    }
     
    4142    int Fatal(const char *txt)   { return Update(txt, kFatal);   }
    4243
     44    int Debug(const std::string &str)   { return Debug(str.c_str()); }
    4345    int Message(const std::string &str) { return Message(str.c_str()); }
    4446    int Info(const std::string &str)    { return Info(str.c_str());    }
     
    4749    int Fatal(const std::string &str)   { return Fatal(str.c_str());   }
    4850
     51    int Debug(const std::stringstream &str)   { return Debug(str.str()); }
    4952    int Message(const std::stringstream &str) { return Message(str.str()); }
    5053    int Info(const std::stringstream &str)    { return Info(str.str());    }
Note: See TracChangeset for help on using the changeset viewer.