mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Replace OpenDebugLog() with StartLogging()
StartLogging() is used to mark the start of logging generically, whether using -printtoconsole or -debuglogfile.
This commit is contained in:
parent
8ab4f282c0
commit
412987430c
3 changed files with 5 additions and 4 deletions
|
|
@ -1249,10 +1249,10 @@ bool AppInitMain(InitInterfaces& interfaces)
|
|||
// and because this needs to happen before any other debug.log printing
|
||||
LogInstance().ShrinkDebugFile();
|
||||
}
|
||||
if (!LogInstance().OpenDebugLog()) {
|
||||
}
|
||||
if (!LogInstance().StartLogging()) {
|
||||
return InitError(strprintf("Could not open debug log file %s",
|
||||
LogInstance().m_file_path.string()));
|
||||
}
|
||||
}
|
||||
|
||||
if (!LogInstance().m_log_timestamps)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue