mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
refactor: Remove outdated libevent logging code
The removed code was intended to catch issues with event_enable_debug_logging which was not available prior to libevent 2.1.1. This is not necessary since the minimum libevent version was bumped to 2.1.8.
This commit is contained in:
parent
0598f36852
commit
e40779a4fe
3 changed files with 6 additions and 21 deletions
|
|
@ -31,9 +31,8 @@ void InterruptHTTPServer();
|
|||
/** Stop HTTP server */
|
||||
void StopHTTPServer();
|
||||
|
||||
/** Change logging level for libevent. Removes BCLog::LIBEVENT from log categories if
|
||||
* libevent doesn't support debug logging.*/
|
||||
bool UpdateHTTPServerLogging(bool enable);
|
||||
/** Change logging level for libevent. */
|
||||
void UpdateHTTPServerLogging(bool enable);
|
||||
|
||||
/** Handler for requests to a certain HTTP path */
|
||||
typedef std::function<bool(HTTPRequest* req, const std::string &)> HTTPRequestHandler;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue