Photon 1.0.0
Loading...
Searching...
No Matches
os.h File Reference
#include <spdlog/common.h>
#include <ctime>

Go to the source code of this file.

Namespaces

namespace  spdlog
 
namespace  spdlog::details
 
namespace  spdlog::details::os
 

Macros

#define SPDLOG_EOL   "\n"
 
#define SPDLOG_FOLDER_SEPS   "/"
 

Functions

SPDLOG_INLINE spdlog::log_clock::time_point spdlog::details::os::now () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::localtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::localtime () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::gmtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::gmtime () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::fopen_s (FILE **fp, const filename_t &filename, const filename_t &mode)
 
SPDLOG_INLINE int spdlog::details::os::remove (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE int spdlog::details::os::remove_if_exists (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE int spdlog::details::os::rename (const filename_t &filename1, const filename_t &filename2) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::path_exists (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE size_t spdlog::details::os::filesize (FILE *f)
 
SPDLOG_INLINE int spdlog::details::os::utc_minutes_offset (const std::tm &tm)
 
SPDLOG_INLINE size_t spdlog::details::os::_thread_id () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE size_t spdlog::details::os::thread_id () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE void spdlog::details::os::sleep_for_millis (unsigned int milliseconds) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::string spdlog::details::os::filename_to_str (const filename_t &filename)
 
SPDLOG_INLINE int spdlog::details::os::pid () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::is_color_terminal () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::in_terminal (FILE *file) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE filename_t spdlog::details::os::dir_name (const filename_t &path)
 
SPDLOG_INLINE bool spdlog::details::os::create_dir (const filename_t &path)
 
std::string SPDLOG_INLINE spdlog::details::os::getenv (const char *field)
 
SPDLOG_INLINE bool spdlog::details::os::fsync (FILE *fp)
 

Macro Definition Documentation

◆ SPDLOG_EOL

#define SPDLOG_EOL   "\n"

◆ SPDLOG_FOLDER_SEPS

#define SPDLOG_FOLDER_SEPS   "/"