// // Created by mason on 8/25/19. // #ifndef TENSRORT_SYS_TRTLOGGER_H #define TENSRORT_SYS_TRTLOGGER_H #ifdef __cplusplus extern "C" { #endif struct Logger; typedef struct Logger Logger_t; void get_tensorrt_version(char* string); Logger_t* create_logger(const int severity); void set_logger_severity(const Logger_t* logger, const int severity); void log_error(Logger_t* logger, char* err); void delete_logger(Logger_t* logger); #ifdef __cplusplus }; #endif #endif //TENSRORT_SYS_TRTLOGGER_H