mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 06:46:23 +00:00
Compat: fix clash with socket() macro, Sentry: Add LogDebug
This commit is contained in:
@@ -45,6 +45,11 @@ void TSentry::Log(sentry_level_t level, const std::string& logger, const std::st
|
||||
sentry_remove_transaction();
|
||||
}
|
||||
|
||||
void TSentry::LogDebug(const std::string& text, const std::string& file, const std::string& line) {
|
||||
SetTransaction(file + ":" + line);
|
||||
Log(SENTRY_LEVEL_DEBUG, "default", file + ": " + text);
|
||||
}
|
||||
|
||||
void TSentry::AddExtra(const std::string& key, const sentry_value_t& value) {
|
||||
if (!mValid) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user