mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Enable log auto-flush, this should not really affect performance because by default the log level is warning
This commit is contained in:
@@ -354,7 +354,8 @@ void set_log_path_and_level(const std::string& file, unsigned int level)
|
|||||||
<< expr::format_date_time< boost::posix_time::ptime >("TimeStamp", "%Y-%m-%d %H:%M:%S.%f")
|
<< expr::format_date_time< boost::posix_time::ptime >("TimeStamp", "%Y-%m-%d %H:%M:%S.%f")
|
||||||
<<"[Thread " << expr::attr<attrs::current_thread_id::value_type>("ThreadID") << "]"
|
<<"[Thread " << expr::attr<attrs::current_thread_id::value_type>("ThreadID") << "]"
|
||||||
<< ":" << expr::smessage
|
<< ":" << expr::smessage
|
||||||
)
|
),
|
||||||
|
keywords::auto_flush = true
|
||||||
);
|
);
|
||||||
|
|
||||||
logging::add_common_attributes();
|
logging::add_common_attributes();
|
||||||
|
|||||||
Reference in New Issue
Block a user