"references/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "e79caddf7490a1cb7f460fe353880fb8b54505a8"
Commit cfb86ab1 authored by Davis King's avatar Davis King
Browse files

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

parent 93a232d3
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
namespace dlib namespace dlib
{ {
const logger server_iostream::dlog("dlib.server_iostream"); const logger server_iostream::_dLog("dlib.server_iostream");
} }
#endif // DLIB_SERVER_IOSTREAM_CPp_ #endif // DLIB_SERVER_IOSTREAM_CPp_
......
...@@ -126,7 +126,7 @@ namespace dlib ...@@ -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! // 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 // Seriously though, this way it is obvious to the user that something bad happened
// since they probably won't have the dlib logger enabled. // since they probably won't have the dlib logger enabled.
...@@ -137,7 +137,7 @@ namespace dlib ...@@ -137,7 +137,7 @@ namespace dlib
uint64 next_id; uint64 next_id;
id_map con_map; id_map con_map;
const static logger dlog; const static logger _dLog;
mutex m; 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