You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log_warn (LOG_NET, "Failed to find the 'java.net.NetworkInterface.supportsMulticast' function. Unable to determine whether interface supports multicast");
113
+
log_warn (LOG_NET, "Failed to find the 'java.net.NetworkInterface.supportsMulticast' function. Unable to determine whether interface supports multicast"sv);
if (v == std::numeric_limits<unsignedlong>::max () && errno == ERANGE) {
74
-
log_error (LOG_DEFAULT, "Invalid debugger log level value '%s', expecting a positive integer or zero", level);
81
+
log_error (LOG_DEFAULT, std::format ("Invalid debugger log level value '{}', expecting a positive integer or zero", level));
75
82
return;
76
83
}
77
84
78
85
if (v > std::numeric_limits<int>::max ()) {
79
-
log_warn (LOG_DEFAULT, "Debugger log level value is higher than the maximum of %u, resetting to the maximum value.", std::numeric_limits<int>::max ());
86
+
log_warn (LOG_DEFAULT, std::format ("Debugger log level value is higher than the maximum of {}, resetting to the maximum value.", std::numeric_limits<int>::max ()));
log_error (LOG_DEFAULT, "Value %s is out of range of this type (%lld..%llu)", s, static_cast<int64_t>(min), static_cast<uint64_t>(max));
183
+
log_error (LOG_DEFAULT, std::format ("Value {} is out of range of this type ({}..{})", reinterpret_cast<char*>(s), static_cast<int64_t>(min), static_cast<uint64_t>(max)));
184
184
returnfalse;
185
185
}
186
186
187
187
if (endp == s) {
188
-
log_error (LOG_DEFAULT, "Value %s does not represent a base %d integer", s, base);
188
+
log_error (LOG_DEFAULT, std::format ("Value {} does not represent a base {} integer", reinterpret_cast<char*>(s), base));
189
189
returnfalse;
190
190
}
191
191
192
192
if (*endp != '\0') {
193
-
log_error (LOG_DEFAULT, "Value %s has non-numeric characters at the end", s);
193
+
log_error (LOG_DEFAULT, std::format ("Value {} has non-numeric characters at the end", reinterpret_cast<char*>(s)));
0 commit comments