HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::logging Namespace Reference

Classes

class  Capture
 
class  ISink
 
struct  Category
 
class  LoggingManager
 The logging manager. Owns the log sink and potentially provides a default Logger instance. Provides filtering based on a minimum LogSeverity level, and of messages with DataType::User if enabled. More...
 
class  Logger
 

Typedefs

using Timestamp = std::chrono::time_point< std::chrono::system_clock >
 

Enumerations

enum  DataType { DataType::SYSTEM = 0, DataType::USER = 1 }
 
enum  Severity {
  Severity::kVERBOSE = 0, Severity::kINFO = 1, Severity::kWARNING = 2, Severity::kERROR = 3,
  Severity::kFATAL = 4
}
 

Functions

unsigned int GetThreadId ()
 
unsigned int GetProcessId ()
 

Variables

constexpr const char * SEVERITY_PREFIX = "VIWEF"
 

Typedef Documentation

using onnxruntime::logging::Timestamp = typedef std::chrono::time_point<std::chrono::system_clock>

Definition at line 57 of file logging.h.

Enumeration Type Documentation

Enumerator
SYSTEM 

System data.

USER 

Contains potentially sensitive user data.

Definition at line 65 of file logging.h.

Enumerator
kVERBOSE 
kINFO 
kWARNING 
kERROR 
kFATAL 

Definition at line 11 of file severity.h.

Function Documentation

unsigned int onnxruntime::logging::GetProcessId ( )

Return the current process id.

unsigned int onnxruntime::logging::GetThreadId ( )

Return the current thread id.

Variable Documentation

constexpr const char* onnxruntime::logging::SEVERITY_PREFIX = "VIWEF"

Definition at line 19 of file severity.h.