src: improvements to logging
* log messages as they are sent and received * log information about messages by overriding method print() * reduced logging of autocompletion list * removed log location from message and parsing logs, as they are known and make up 90% of logs
This commit is contained in:
@@ -56,4 +56,13 @@
|
||||
} \
|
||||
while(0) \
|
||||
|
||||
#define LOG_INFO_STREAM_BARE(__s__) \
|
||||
do \
|
||||
{ \
|
||||
std::stringstream __ss__; \
|
||||
__ss__ __s__; \
|
||||
LogManager::getInstance()->logInfo(__ss__.str(), "", "", 0); \
|
||||
} \
|
||||
while(0) \
|
||||
|
||||
#endif // LOGGING_H
|
||||
|
||||
Reference in New Issue
Block a user