DRTVWR-558: Allow directly streaming test helper class CaptureLog.

(cherry picked from commit 374eb409b98795158b36e232f670d1302f31b9ff)
master
Nat Goodspeed 2023-01-06 17:06:39 -05:00
parent 2f39489f2c
commit 8e61a8f7c0
1 changed files with 5 additions and 0 deletions

View File

@ -226,6 +226,11 @@ public:
return boost::dynamic_pointer_cast<CaptureLogRecorder>(mRecorder)->streamto(out);
}
friend inline std::ostream& operator<<(std::ostream& out, const CaptureLog& self)
{
return self.streamto(out);
}
private:
LLError::FatalFunction mFatalFunction;
LLError::SettingsStoragePtr mOldSettings;