mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 19:32:18 +00:00
feature add web version on bury point
This commit is contained in:
@@ -296,5 +296,13 @@ void sentryReportLog(SENTRY_LOG_LEVEL logLevel,
|
||||
#endif
|
||||
}
|
||||
|
||||
void set_sentry_tags(const std::string& tag_key, const std::string& tag_value)
|
||||
{
|
||||
#ifdef SLIC3R_SENTRY
|
||||
if (!tag_key.empty())
|
||||
sentry_set_tag(tag_key.c_str(), tag_value.c_str());
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace Slic3r
|
||||
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace Slic3r {
|
||||
const std::string& logTagKey = "",
|
||||
const std::string& logTagValue = "",
|
||||
const std::string& logTraceId = "");
|
||||
|
||||
void set_sentry_tags(const std::string& tag_key,const std::string& tag_value);
|
||||
} // namespace Slic3r
|
||||
|
||||
#endif // slic3r_SentryWrapper_hpp_
|
||||
|
||||
Reference in New Issue
Block a user