24.02.1
|
Data Structures | |
class | DateDecorator |
Date Decorator. More... | |
class | FilePrinter |
File Printer. More... | |
class | IDecorator |
Log message decorator interface. More... | |
class | Logger |
Logger class. More... | |
class | LoggerRegistry |
Registry class holding all the instantiated loggers. More... | |
class | LogLevelDecorator |
Log Level Decorator. More... | |
struct | LogMsg |
Log message. More... | |
class | Printer |
Base printer class to be inherited by other printer classes. More... | |
class | StdPrinter |
Std Printer. More... | |
class | StringDecorator |
String Decorator. More... | |
class | ThreadIdDecorator |
Thread ID Decorator. More... | |
Enumerations | |
enum | LogLevel { VERBOSE, INFO, WARN, ERROR, OFF } |
Logging level enumeration. More... | |
Functions | |
template<typename... Ts> | |
std::string | string_with_format (const std::string &fmt, Ts &&...args) |
Create a string given a format. More... | |
template<typename T > | |
std::string | angle_wrap_value (const T &val) |
Wraps a value with angles and returns the string. More... | |
const std::string & | string_from_log_level (LogLevel log_level) |
Translates a given log level to a string. More... | |
|
strong |
|
inline |
Wraps a value with angles and returns the string.
[in] | val | Value to wrap |
Definition at line 63 of file Helpers.h.
References arm_compute::test::validation::ss().
Referenced by DateDecorator::decorate(), ThreadIdDecorator::decorate(), LogLevelDecorator::decorate(), and StringDecorator::StringDecorator().
const std::string & string_from_log_level | ( | LogLevel | log_level | ) |
Translates a given log level to a string.
[in] | log_level | LogLevel to be translated to string. |
Definition at line 31 of file Helpers.cpp.
References INFO, OFF, VERBOSE, and WARN.
Referenced by LogLevelDecorator::decorate().
|
inline |
Create a string given a format.
[in] | fmt | String format |
[in] | args | Arguments |
Definition at line 49 of file Helpers.h.
References GemmTuner::args, and arm_compute::support::cpp11::snprintf().
Referenced by Logger::log().