|
WarpX
|
Classes | |
| class | Logger |
| struct | Msg |
| struct | MsgWithCounter |
| struct | MsgWithCounterAndRanks |
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") | |
| Priority | StringToPriority (const std::string &priority_string) |
| This function converts a string into the corresponding priority (e.g, "low" --> Priority::low) | |
| 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). | |
|
strong |
Priority is recorded together with messages. It influences the display order and the appearance of a message.
| Enumerator | |
|---|---|
| low | Low priority message |
| medium | Medium priority message |
| high | High priority message |
| 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 |