LogDoctor/docs/html/classStoreOps.html

7.0 KiB

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> </head>
LogDoctor 2.00
Parse Apache2/Nginx/IIS logs and create statistics
Loading...
Searching...
No Matches

StoreOps. More...

#include <store.h>

Static Public Member Functions

static bool storeData (QSqlDatabase &db, Craplog &craplog, const std::vector< std::unordered_map< int, std::string > > &data)
 Stores the data collection in the logs Collection database. More...
 

Detailed Description

StoreOps.

Operations to store logs data

Member Function Documentation

◆ storeData()

bool StoreOps::storeData ( QSqlDatabase &  db,
Craplog craplog,
const std::vector< std::unordered_map< int, std::string > > &  data 
)
static

Stores the data collection in the logs Collection database.

Parameters
dbA database instance, already initizlized
craplogThe Craplog instance
dataThe logs data collection
Returns
Whether the operation has been successful or not
Exceptions
WebServerException

The documentation for this class was generated from the following files:
  • logdoctor/modules/craplog/modules/store.h
  • logdoctor/modules/craplog/modules/store.cpp

Generated by doxygen 1.9.5 </html>