12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef IVLOG_H
- #define IVLOG_H
- #include <QtCore/qglobal.h>
- #include <stdarg.h>
- #if defined(IVLOG_LIBRARY)
- # define IVLOGSHARED_EXPORT Q_DECL_EXPORT
- #else
- # define IVLOGSHARED_EXPORT Q_DECL_IMPORT
- #endif
- namespace iv {
- class IVLOGSHARED_EXPORT Ivlog
- {
- public:
- Ivlog(const char * strmodulename);
- ~Ivlog();
- void verbose(const char * str,...);
- void debug(const char * str,...);
- void info(const char * str,...);
- void warn(const char * str,...);
- void error(const char * str,...);
- void verbose(const char * strtag,const char * str,...);
- void debug(const char * strtag,const char * str,...);
- void info(const char * strtag,const char * str,...);
- void warn(const char * strtag,const char * str,...);
- void error(const char * strtag,const char * str,...);
- private:
- void * mpimpl;
- };
- }
- #endif // IVLOG_H
|