mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
switches the order of error and access log paramters to be consistent with the rest of the library
This commit is contained in:
@@ -99,7 +99,7 @@ public:
|
||||
|
||||
m_alog.write(log::alevel::devel,"endpoint constructor");
|
||||
|
||||
transport_type::init_logging(&m_elog,&m_alog);
|
||||
transport_type::init_logging(&m_alog,&m_elog);
|
||||
}
|
||||
|
||||
/// Returns the user agent string that this endpoint will use
|
||||
|
||||
@@ -377,9 +377,9 @@ protected:
|
||||
* haven't been constructed yet, and cannot be used in the transport
|
||||
* destructor as they will have been destroyed by then.
|
||||
*/
|
||||
void init_logging(elog_type* e, alog_type* a) {
|
||||
m_elog = e;
|
||||
void init_logging(alog_type* a, elog_type* e) {
|
||||
m_alog = a;
|
||||
m_elog = e;
|
||||
}
|
||||
|
||||
void handle_accept(connection_hdl hdl, accept_handler callback,
|
||||
|
||||
@@ -97,7 +97,7 @@ protected:
|
||||
* haven't been constructed yet, and cannot be used in the transport
|
||||
* destructor as they will have been destroyed by then.
|
||||
*/
|
||||
void init_logging(elog_type* e, alog_type* a) {
|
||||
void init_logging(alog_type* a, elog_type* e) {
|
||||
m_elog = e;
|
||||
m_alog = a;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user