rpc: set default log category in core_rpc_server.h

This commit is contained in:
moneromooo-monero 2019-03-29 10:47:30 +00:00
parent 1f809e7485
commit 82e510f15e
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -40,6 +40,9 @@
#include "p2p/net_node.h"
#include "cryptonote_protocol/cryptonote_protocol_handler.h"
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "daemon.rpc"
// yes, epee doesn't properly use its full namespace when calling its
// functions from macros. *sigh*
using namespace epee;