mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
Sentry: remove url length print
This commit is contained in:
parent
8250d5876f
commit
cacdc004da
@ -4,8 +4,6 @@
|
|||||||
#include <sentry.h>
|
#include <sentry.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
static size_t SentryUrlLen;
|
|
||||||
|
|
||||||
// compile-time length of a string/array
|
// compile-time length of a string/array
|
||||||
template <size_t N>
|
template <size_t N>
|
||||||
constexpr size_t ConstexprLength(char const (&)[N]) {
|
constexpr size_t ConstexprLength(char const (&)[N]) {
|
||||||
@ -37,7 +35,6 @@ TSentry::~TSentry() {
|
|||||||
void TSentry::PrintWelcome() {
|
void TSentry::PrintWelcome() {
|
||||||
if (mValid) {
|
if (mValid) {
|
||||||
info("Sentry started");
|
info("Sentry started");
|
||||||
debug("Sentry URL is length " + std::to_string(SentryUrlLen));
|
|
||||||
} else {
|
} else {
|
||||||
info("Sentry disabled in unofficial build");
|
info("Sentry disabled in unofficial build");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user