Commit cfb86ab1 authored by Davis King's avatar Davis King

Changed name of private logger to avoid name conflicts in derived classes.

parent 93a232d3
......@@ -7,7 +7,7 @@
namespace dlib
{
const logger server_iostream::dlog("dlib.server_iostream");
const logger server_iostream::_dLog("dlib.server_iostream");
}
#endif // DLIB_SERVER_IOSTREAM_CPp_
......
......@@ -126,7 +126,7 @@ namespace dlib
}
}
dlog << LERROR << "We ran out of memory in server_iostream::on_connect()";
_dLog << LERROR << "We ran out of memory in server_iostream::on_connect()";
// if this is an escaped exception from on_connect then let it fly!
// Seriously though, this way it is obvious to the user that something bad happened
// since they probably won't have the dlib logger enabled.
......@@ -137,7 +137,7 @@ namespace dlib
uint64 next_id;
id_map con_map;
const static logger dlog;
const static logger _dLog;
mutex m;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment