pjrt
Logger
Logger
#include <debugging.h>class LoggerDefined in integrations/pjrt/src/iree_pjrt/common/debugging.h:26
Public Methods
Logger
inline
inline Logger(Level level)Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:35
debug
void debug(std::string_view message)Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:36
error
void error(std::string_view message)Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:37
Public Static Methods
| Return | Name | Description |
|---|---|---|
std::optional< Level > | LevelFromString static | |
std::string_view | LevelToString static |
LevelFromString
static
static std::optional< Level > LevelFromString(std::string_view level)Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:32
LevelToString
static
static std::string_view LevelToString(Level level)Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:33
Public Types
| Name | Description |
|---|---|
Level |
Level
enum LevelDefined in integrations/pjrt/src/iree_pjrt/common/debugging.h:30
| Value | Description |
|---|---|
DEBUG | |
ERROR |
Private Attributes
level_
Level level_Type: Level
Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:42
Private Methods
| Return | Name | Description |
|---|---|---|
void | log |
log
void log(Level level, std::string_view message)Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:40
