Skip to content

Commit

Permalink
Refactor complex telnet function + Add sentry comments
Browse files Browse the repository at this point in the history
  • Loading branch information
egecetin committed Dec 8, 2024
1 parent 0e7a410 commit 8912d0f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/logging/Sentry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,16 @@ namespace spdlog::sinks
case spdlog::level::info:
case spdlog::level::off:
// For lower levels, do nothing for now. But you can easily handle them here.
break;
default:
break;
}
}

template <typename Mutex> void sentry_api_sink<Mutex>::flush_() {}
template <typename Mutex> void sentry_api_sink<Mutex>::flush_()
{
// Sentry library handles all operations, so no need to flush
}

template class sentry_api_sink<std::mutex>;
template class sentry_api_sink<details::null_mutex>;
Expand Down

0 comments on commit 8912d0f

Please sign in to comment.