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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user