to start a quick hello world:
ZFLog() <<
"hello world";
ZFLog(
"hello %s %s",
"world", 2);
}
header file for ZFCore module
#define ZFLog(...)
thread-safe log utility
Definition ZFLog.h:77
#define ZFMAIN_ENTRY()
app's main entry wrapper
Definition ZFMainEntry.h:38
zfstring zfstr(const zfchar *fmt=zft_zfnull)
string format util
Definition zfstr.h:59
ZFFramework would be started from ZFMAIN_ENTRY, you may write any C++ compatible code here
in this example, we just output "hello world" to ZFLog, which would output to a proper console by default