SectionPairMessageFormatter.hpp 892 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-22
  6. * Changed: 2024-09-13
  7. *
  8. * */
  9. #ifndef LS_STD_SECTION_PAIR_MESSAGE_FORMATTER_HPP
  10. #define LS_STD_SECTION_PAIR_MESSAGE_FORMATTER_HPP
  11. #include <ls-std/os/dynamic-goal.hpp>
  12. #include <string>
  13. /*
  14. * @doc: class(name: 'SectionPairMessageFormatter', package: 'io')
  15. * @doc: io.SectionPairMessageFormatter.description('This message formatter replaces new line sequences, which are OS specific, to a readable tag for error message formatting.')
  16. * */
  17. namespace ls::std::io
  18. {
  19. class LS_STD_DYNAMIC_GOAL SectionPairMessageFormatter
  20. {
  21. public:
  22. SectionPairMessageFormatter();
  23. ~SectionPairMessageFormatter();
  24. [[nodiscard]] static ::std::string getFormattedMessage(const ::std::string &_message);
  25. };
  26. }
  27. #endif