14 lines
255 B
C++
14 lines
255 B
C++
#pragma once
|
|
|
|
#include <drogon/plugins/Plugin.h>
|
|
|
|
class RequestLogger : public drogon::Plugin<RequestLogger>
|
|
{
|
|
public:
|
|
void initAndStart(const Json::Value &config) override;
|
|
void shutdown() override;
|
|
|
|
private:
|
|
bool includeQuery_{true};
|
|
};
|