25 #include "../common.hpp"
27 #include "../types/config.hpp"
28 #include "../plugin.hpp"
33 #include "bdb_database.hpp"
35 namespace swarm {
namespace log {
37 using namespace gpulog;
71 :env(bdb_database::createDefaultEnv())
74 std::string fileName = cfg.
require(
"log_output_db",std::string());
75 db.createEmpty(fileName);
79 virtual void process(
const char *log_data,
size_t length) {
80 ilogstream stream(log_data,length);
81 while(logrecord lr = stream.next()){