summaryrefslogtreecommitdiffstats
path: root/src/uscxml/debug/DebuggerServlet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/debug/DebuggerServlet.h')
-rw-r--r--src/uscxml/debug/DebuggerServlet.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/uscxml/debug/DebuggerServlet.h b/src/uscxml/debug/DebuggerServlet.h
index dc6b0ee..2ed1879 100644
--- a/src/uscxml/debug/DebuggerServlet.h
+++ b/src/uscxml/debug/DebuggerServlet.h
@@ -29,7 +29,7 @@
namespace uscxml {
-class USCXML_API DebuggerServlet : public Debugger, public HTTPServlet {
+class USCXML_API DebuggerServlet : public Debugger, public HTTPServlet, public el::LogDispatchCallback {
public:
class LogMessage : public Data {
public:
@@ -58,7 +58,7 @@ public:
bool isCORS(const HTTPServer::Request& request);
void handleCORS(const HTTPServer::Request& request);
- bool httpRecvRequest(const HTTPServer::Request& request);
+ bool requestFromHTTP(const HTTPServer::Request& request);
void setURL(const std::string& url) {
_url = url;
}
@@ -92,6 +92,8 @@ public:
const struct ::tm* tm_time,
const char* message, size_t message_len);
*/
+ void handle(const el::LogDispatchData* data);
+
protected:
void serverPushData(std::shared_ptr<DebugSession>);