mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-28 20:01:16 -07:00
Enable log auto-flush, this should not really affect performance because by default the log level is warning
This commit is contained in:
parent
bfe4b78b0e
commit
28184a96a1
1 changed files with 2 additions and 1 deletions
|
|
@ -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")
|
||||
<<"[Thread " << expr::attr<attrs::current_thread_id::value_type>("ThreadID") << "]"
|
||||
<< ":" << expr::smessage
|
||||
)
|
||||
),
|
||||
keywords::auto_flush = true
|
||||
);
|
||||
|
||||
logging::add_common_attributes();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue