fix(logging): add logging namespace and create logging::init method (#2336)
This commit is contained in:
parent
a1edc246f5
commit
2da6fb050a
9 changed files with 304 additions and 158 deletions
|
|
@ -1814,7 +1814,7 @@ namespace stream {
|
|||
// The alternative is that Sunshine can never start another session until it's manually restarted.
|
||||
auto task = []() {
|
||||
BOOST_LOG(fatal) << "Hang detected! Session failed to terminate in 10 seconds."sv;
|
||||
log_flush();
|
||||
logging::log_flush();
|
||||
lifetime::debug_trap();
|
||||
};
|
||||
auto force_kill = task_pool.pushDelayed(task, 10s).task_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue