12 namespace onnxruntime {
46 #define msvc_printf_check _Printf_format_string_
47 #define __attribute__(x) // Disable for MSVC. Supported by GCC and CLang.
49 #define msvc_printf_check
80 GSL_SUPPRESS(bounds.2) {
104 ORT_DISALLOW_COPY_ASSIGNMENT_AND_MOVE(
Capture);
108 const char* category_;
112 std::ostringstream stream_;
std::string Message() const noexcept
char SeverityPrefix() const noexcept
auto printf(const S &fmt, const T &...args) -> int
GLsizei const GLchar *const * string
constexpr const char * SEVERITY_PREFIX
__attribute__((visibility("default")))
logging::DataType DataType() const noexcept
GLint GLint GLsizei GLint GLenum format
std::ostream & Stream() noexcept
void CapturePrintf(msvc_printf_check const char *format,...) __attribute__((format(printf
#define msvc_printf_check
**If you just want to fire and args
void void ProcessPrintf(msvc_printf_check const char *format, va_list args)
const CodeLocation & Location() const noexcept
HUSD_API const char * dataType()
const char * Category() const noexcept
Capture(const Logger &logger, logging::Severity severity, const char *category, logging::DataType dataType, const CodeLocation &location)