HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
logging.h File Reference
#include <atomic>
#include <chrono>
#include <climits>
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include "core/common/common.h"
#include "core/common/profiler_common.h"
#include "core/common/logging/capture.h"
#include "core/common/logging/severity.h"
#include "core/common/logging/macros.h"
+ Include dependency graph for logging.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  onnxruntime::logging::Category
 
class  onnxruntime::logging::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  onnxruntime::logging::Logger
 

Namespaces

 onnxruntime
 
 onnxruntime::logging
 

Typedefs

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

Enumerations

enum  onnxruntime::logging::DataType { onnxruntime::logging::DataType::SYSTEM = 0, onnxruntime::logging::DataType::USER = 1 }
 
enum  onnxruntime::logging::ORTTraceLoggingKeyword : uint64_t {
  onnxruntime::logging::ORTTraceLoggingKeyword::Session = 0x1, onnxruntime::logging::ORTTraceLoggingKeyword::Logs = 0x2, onnxruntime::logging::ORTTraceLoggingKeyword::Reserved1 = 0x4, onnxruntime::logging::ORTTraceLoggingKeyword::Reserved2 = 0x8,
  onnxruntime::logging::ORTTraceLoggingKeyword::Reserved3 = 0x10, onnxruntime::logging::ORTTraceLoggingKeyword::Reserved4 = 0x20, onnxruntime::logging::ORTTraceLoggingKeyword::Reserved5 = 0x40, onnxruntime::logging::ORTTraceLoggingKeyword::Reserved6 = 0x80,
  onnxruntime::logging::ORTTraceLoggingKeyword::Profiling = 0x100
}
 ORT TraceLogging keywords for categories of dynamic logging enablement More...
 

Functions

unsigned int onnxruntime::logging::GetThreadId ()
 
unsigned int onnxruntime::logging::GetProcessId ()
 
std::unique_ptr< ISink > onnxruntime::logging::EnhanceLoggerWithEtw (std::unique_ptr< ISink > existingLogger, logging::Severity originalSeverity, logging::Severity etwSeverity)
 
Severity onnxruntime::logging::OverrideLevelWithEtw (Severity originalSeverity)