inline void LogAction(const char* pfmt, ...);
LogAction is a convenient printf-style function to print action related logs.