mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 09:40:18 +00:00
logging: check if output is a terminal only once
This commit is contained in:
@@ -382,4 +382,5 @@ thread_local std::string Log_output::buffer(initial_buf_size, '\0');
|
||||
|
||||
Log_output::Log_output(){
|
||||
last_msg.reserve(initial_buf_size);
|
||||
interactive = rang::rang_implementation::isTerminal(std::cout.rdbuf());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user