5#ifndef SAPPHIRE_LOGGER_TO_STRING_GUARD
6#define SAPPHIRE_LOGGER_TO_STRING_GUARD
54 std::string
ToStringBinary(
const char* _data, uint64_t _size)
noexcept;
94 std::string
ToString(
const T* _elems, uint64_t _size);
104 template <
typename T>
111 std::string
ToString(
const char& _char);
114 std::string
ToString(
const char* _cstr);
117 std::string
ToString(
const std::string& _str)
noexcept;
120 std::string
ToString(std::string&& _str)
noexcept;
139 template <
typename T>
150 template <
typename T>
162 template <
typename T>
163 std::wstring
ToWString(
const T* _elems, uint64_t _size);
173 template <
typename T>
180 std::wstring
ToWString(
const char& _char);
183 std::wstring
ToWString(
const char* _cstr);
186 std::wstring
ToWString(
const wchar_t& _char);
189 std::wstring
ToWString(
const wchar_t* _cstr);
192 std::wstring
ToWString(
const std::string& _str);
195 std::wstring
ToWString(
const std::wstring& _str)
noexcept;
198 std::wstring
ToWString(std::wstring&& _str)
noexcept;
206#include <SA/Logger/Misc/ToString.inl>
std::wstring ToWString(const Log &_log)
ToWString implementation for log.
std::string ToString(LogLevel _lvl) noexcept
ToString implementation for LogLevel.
std::string ToStringBinary(const T &_elem) noexcept
Binary ToString implementation.