pjrt

Logger

Logger

#include <debugging.h>
class Logger

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:26

Public Methods

ReturnNameDescription
Logger inline
voiddebug
voiderror

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

ReturnNameDescription
std::optional< Level >LevelFromString static
std::string_viewLevelToString 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

NameDescription
Level

Level

enum Level

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:30

ValueDescription
DEBUG
ERROR

Private Attributes

ReturnNameDescription
Levellevel_

level_

Level level_

Type: Level

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:42

Private Methods

ReturnNameDescription
voidlog

log

void log(Level level, std::string_view message)

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:40