Do not hardcode Debug Log File

Allow to specifiy the log file name, this comes
handy in case of self-matches so that each SF
instance writes into a different log file.

No functional change.
This commit is contained in:
lucasart
2016-06-13 07:12:24 +08:00
committed by Marco Costalba
parent ca14345ba2
commit 126036abb0
3 changed files with 8 additions and 8 deletions

View File

@@ -31,7 +31,7 @@
const std::string engine_info(bool to_uci = false);
void prefetch(void* addr);
void start_logger(bool b);
void start_logger(const std::string& fname);
void dbg_hit_on(bool b);
void dbg_hit_on(bool c, bool b);