#define LOG_FORMAT(id, level, logformat, ...) \ {\ if (zsummer::log4z::ILog4zManager::GetInstance()->PrePushLog(id,level)) \ {\ if(zsummer::log4z::ILog4zManager::GetInstance()->GetChangeFileStatus()==1)\ {\ zsummer::log4z::ILog4zManager::GetInstance()->PushLog(id, level, "Title");\ }\ char logbuf[LOG4Z_LOG_BUF_SIZE];\ int ret = _snprintf_s(logbuf, LOG4Z_LOG_BUF_SIZE, _TRUNCATE, logformat, ##__VA_ARGS__);\ zsummer::log4z::ILog4zManager::GetInstance()->PushLog(id, level, logbuf);\ }\ }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)