Inject journals:

Calls to WriteLog are replaced with injected journals
This commit is contained in:
seelabs
2015-09-19 11:06:12 -07:00
committed by Vinnie Falco
parent df6ac8f7f5
commit 92b2ca70b7
131 changed files with 1336 additions and 1076 deletions

View File

@@ -29,6 +29,7 @@
#include <beast/net/IPEndpoint.h>
#include <beast/module/core/files/File.h>
#include <beast/utility/ci_char_traits.h>
#include <beast/utility/Journal.h>
#include <boost/asio/ip/tcp.hpp> // VFALCO FIX: This include should not be here
#include <boost/filesystem.hpp> // VFALCO FIX: This include should not be here
#include <boost/lexical_cast.hpp>
@@ -47,7 +48,7 @@ parseIniFile (std::string const& strInput, const bool bTrim);
bool
getSingleSection (IniFileSections& secSource,
std::string const& strSection, std::string& strValue);
std::string const& strSection, std::string& strValue, beast::Journal j);
int
countSectionEntries (IniFileSections& secSource, std::string const& strSection);
@@ -131,6 +132,7 @@ private:
boost::filesystem::path DEBUG_LOGFILE;
void load ();
beast::Journal j_;
public:
//--------------------------------------------------------------------------