mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-17 07:03:02 -04:00
more cleanup
This commit is contained in:
@@ -46,16 +46,8 @@ LogObserver * LoggingServerApiObserver::create(const std::string &)
|
||||
|
||||
void LoggingServerApiObserver::log(const LogMessage & msg)
|
||||
{
|
||||
const char * procId = "\0";
|
||||
const char * channel = "\0";
|
||||
std::string fileName = "misc.txt";
|
||||
|
||||
if(!msg.getProcId().empty())
|
||||
procId = msg.getProcId().c_str();
|
||||
|
||||
if(! msg.getChannel().empty())
|
||||
channel = msg.getChannel().c_str();
|
||||
|
||||
std::string msgText;
|
||||
|
||||
if(! msg.getText().empty())
|
||||
|
||||
Reference in New Issue
Block a user