24#if !defined(SPDLOG_EOL)
26# define SPDLOG_EOL "\r\n"
28# define SPDLOG_EOL "\n"
35#if !defined(SPDLOG_FOLDER_SEPS)
37# define SPDLOG_FOLDER_SEPS "\\/"
39# define SPDLOG_FOLDER_SEPS "/"
91#if (defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT) || defined(SPDLOG_WCHAR_FILENAMES)) && defined(_WIN32)
116#ifdef SPDLOG_HEADER_ONLY
#define SPDLOG_FILENAME_T(s)
#define SPDLOG_FOLDER_SEPS
SPDLOG_INLINE std::string filename_to_str(const filename_t &filename)
static SPDLOG_CONSTEXPR const char folder_seps[]
SPDLOG_INLINE bool fopen_s(FILE **fp, const filename_t &filename, const filename_t &mode)
SPDLOG_INLINE int remove_if_exists(const filename_t &filename) SPDLOG_NOEXCEPT
SPDLOG_INLINE size_t filesize(FILE *f)
SPDLOG_INLINE bool is_color_terminal() SPDLOG_NOEXCEPT
SPDLOG_INLINE int utc_minutes_offset(const std::tm &tm)
SPDLOG_INLINE int remove(const filename_t &filename) SPDLOG_NOEXCEPT
SPDLOG_INLINE bool in_terminal(FILE *file) SPDLOG_NOEXCEPT
SPDLOG_INLINE size_t _thread_id() SPDLOG_NOEXCEPT
std::string SPDLOG_INLINE getenv(const char *field)
SPDLOG_INLINE int rename(const filename_t &filename1, const filename_t &filename2) SPDLOG_NOEXCEPT
static SPDLOG_CONSTEXPR const char * default_eol
SPDLOG_INLINE spdlog::log_clock::time_point now() SPDLOG_NOEXCEPT
SPDLOG_INLINE std::tm localtime() SPDLOG_NOEXCEPT
SPDLOG_INLINE size_t thread_id() SPDLOG_NOEXCEPT
SPDLOG_INLINE int pid() SPDLOG_NOEXCEPT
SPDLOG_INLINE bool path_exists(const filename_t &filename) SPDLOG_NOEXCEPT
SPDLOG_INLINE std::tm gmtime() SPDLOG_NOEXCEPT
SPDLOG_INLINE filename_t dir_name(filename_t path)
SPDLOG_INLINE bool create_dir(filename_t path)
SPDLOG_INLINE void sleep_for_millis(unsigned int milliseconds) SPDLOG_NOEXCEPT
static SPDLOG_CONSTEXPR const filename_t::value_type folder_seps_filename[]
fmt::basic_memory_buffer< wchar_t, 250 > wmemory_buf_t
fmt::basic_string_view< wchar_t > wstring_view_t
fmt::basic_string_view< char > string_view_t
fmt::basic_memory_buffer< char, 250 > memory_buf_t