Zane Shelley | 20ed74d | 2022-03-26 13:50:57 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | // C++20 projects should use `lg2` over `log`, when possible. See the following |
| 4 | // for details on structured logging: |
| 5 | // https://github.com/openbmc/phosphor-logging/blob/master/docs/structured-logging.md |
| 6 | |
| 7 | #include <phosphor-logging/lg2.hpp> |
| 8 | |
| 9 | // This allows for easier use of string literals (i.e. `"foo"s`). See the |
| 10 | // following for details: |
| 11 | // https://en.cppreference.com/w/cpp/string/basic_string/operator%22%22s |
| 12 | |
| 13 | #include <string> |
| 14 | using namespace std::string_literals; |