8#if !defined(BEL_DEBUG_H)
21 void execute(std::string
const& args);
28 std::string show_help()
const;
29 std::string show_gamehistory()
const;
30 std::string show_poshistory()
const;
31 std::string show_fenhistory()
const;
32 std::string show_hashhistory()
const;
58 {
return m_attached; }
59 inline std::string
const&
fn()
const
60 {
return m_filename; }
70 if (m_curlinelevel <= m_level) {
86 if (log.m_curlinelevel <= log.m_level) {
93 int m_curlinelevel = 0;
95 bool m_attached =
false;
96 std::string m_filename =
"";
static void run_bench(bSearchAlgorithm &search, depth_t const nDepth)
void execute(std::string const &args)
outputWriter & operator=(outputWriter const &)=delete
outputWriter & operator()(int const l)
outputWriter & operator=(outputWriter &&)=delete
outputWriter(std::ostream &os)
Outputwriter class will log to debug file, stdout and log file in this order if they have been initia...
std::string const & fn() const
outputWriter(outputWriter const &)=delete
outputWriter(outputWriter &&)=delete
friend std::ostream & operator<<(outputWriter &log, T o)
bool attach(std::string const &fn)
void setLevel(int const l)