Replace OpenDebugLog() with StartLogging()

StartLogging() is used to mark the start of logging generically, whether
using -printtoconsole or -debuglogfile.
This commit is contained in:
Anthony Towns
2018-05-03 10:14:01 +10:00
committed by MarcoFalke
parent 8ab4f282c0
commit 412987430c
3 changed files with 5 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ namespace BCLog {
/** Returns whether logs will be written to any output */
bool Enabled() const { return m_print_to_console || m_print_to_file; }
bool OpenDebugLog();
bool StartLogging();
void ShrinkDebugFile();
uint32_t GetCategoryMask() const { return m_categories.load(); }