switches the order of error and access log paramters to be consistent with the rest of the library

This commit is contained in:
Peter Thorson
2013-05-13 07:50:29 -05:00
parent 0d7677b1b1
commit a77d92e99a
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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,

View File

@@ -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;
}