WarpX
|
Classes | |
struct | Msg |
struct | MsgWithCounter |
struct | MsgWithCounterAndRanks |
class | Logger |
Enumerations | |
enum class | Priority { low , medium , high } |
Functions | |
std::string | PriorityToString (const Priority &priority) |
This function converts a Priority into the corresponding string (e.g, Priority::low --> "low") More... | |
Priority | StringToPriority (const std::string &priority_string) |
This function converts a string into the corresponding priority (e.g, "low" --> Priority::low) More... | |
constexpr bool | operator< (const Msg &l, const Msg &r) |
This implements the < operator for Msg. Warning messages are first ordered by priority (warning: high < medium < low to give precedence to higher priorities), then by topic (alphabetically), and finally by text (alphabetically). More... | |
|
strong |
std::string ablastr::utils::msg_logger::PriorityToString | ( | const Priority & | priority | ) |
This function converts a Priority into the corresponding string (e.g, Priority::low --> "low")
[in] | priority | the priority |
Priority ablastr::utils::msg_logger::StringToPriority | ( | const std::string & | priority_string | ) |
This function converts a string into the corresponding priority (e.g, "low" --> Priority::low)
[in] | priority_string | the priority string |