Added logging for server using syslog.

This commit is contained in:
lotodore
2007-10-23 21:26:07 +00:00
parent ae030a3669
commit b4848532f9
12 changed files with 175 additions and 111 deletions
+2 -1
View File
@@ -21,6 +21,7 @@
#include "handinterface.h"
#include <game_defs.h>
#include <core/loghelper.h>
#include "localexception.h"
#include "engine_msg.h"
@@ -214,7 +215,7 @@ void LocalBoard::distributePot() {
// ERROR-Outputs
if(pot!=0) cout << "distributePot-ERROR: Pot = " << pot << endl;
if(pot!=0) LOG_ERROR(__FILE__ << " (" << __LINE__ << "): distributePot-ERROR: Pot = " << pot);
int sum = 0;