SectionPairMessageFormatter.hpp 940 B

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