Implements Impala::LogListener. Definition at line 223 of file Logger.h. References LOG_ERROR, mErrorLog, mLineStarted, mLog, mLogToFile, and mPLog. Referenced by LogString(), and operator<<(). 00224 { 00225 if (mLineStarted) 00226 { 00227 std::cout << std::endl; 00228 if (mLogToFile) 00229 *mLog << std::endl; 00230 if (mPLog != 0) 00231 *mPLog << std::endl; 00232 if (level == LOG_ERROR) 00233 *mErrorLog << std::endl; 00234 00235 mLineStarted = false; 00236 } 00237 }
|