mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
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:
@@ -57,7 +57,7 @@ void init(OptionsMap& o) {
|
||||
|
||||
const int MaxHashMB = Is64Bit ? 1024 * 1024 : 2048;
|
||||
|
||||
o["Write Debug Log"] << Option(false, on_logger);
|
||||
o["Debug Log File"] << Option("", on_logger);
|
||||
o["Contempt"] << Option(0, -100, 100);
|
||||
o["Threads"] << Option(1, 1, 128, on_threads);
|
||||
o["Hash"] << Option(16, 1, MaxHashMB, on_hash_size);
|
||||
|
||||
Reference in New Issue
Block a user