some work in the new api:

- log_level and save_each_line moved from Log to FileLog
- other fixes in loggers
- DirContainer from Dirs and LoadAvg had no dependencies set




git-svn-id: svn://ttmath.org/publicrep/winix/branches/0.7.x@1148 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2018-11-21 22:53:24 +00:00
parent 89d303f375
commit 491dd27ebf
18 changed files with 116 additions and 81 deletions

View File

@@ -54,7 +54,13 @@ void Config::SetFileLog(FileLog * file_log)
log.SetFileLog(file_log);
// the config is not read yet so we put some constants here
log.Init(3, false, 1);
log.Init(1);
}
void Config::SetLogBuffer(TextStream<std::wstring> * log_buffer)
{
log.SetLogBuffer(log_buffer);
}