|
@@ -75,8 +75,9 @@ void session::start(void) {
|
|
|
// BOOST_LOG_NAMED_SCOPE();
|
|
|
|
|
|
// If I want the file and line number information, here's how to do it:
|
|
|
- BOOST_LOG_TRIVIAL(info) << boost::format("(%1%:%2%) ") % __FILE__ % __LINE__
|
|
|
- << "session";
|
|
|
+ // BUGZ_LOG(info) << boost::format("(%1%:%2%) ") % __FILE__ % __LINE__
|
|
|
+ BOOST_LOG_TRIVIAL(info) << "session()";
|
|
|
+ BUGZ_LOG(info) << "session::start()";
|
|
|
auto self(shared_from_this());
|
|
|
// read_buffer.reserve(1024);
|
|
|
// do_write("Welcome!\n");
|
|
@@ -84,8 +85,8 @@ void session::start(void) {
|
|
|
}
|
|
|
|
|
|
session::~session() {
|
|
|
- // BOOST_LOG_NAMED_SCOPE("session");
|
|
|
- BOOST_LOG_TRIVIAL(info) << "~session destructed";
|
|
|
+ BOOST_LOG_TRIVIAL(info) << "~session";
|
|
|
+ BUGZ_LOG(info) << "~session destructed";
|
|
|
}
|
|
|
|
|
|
void session::parse_auth(void) {
|