Photon 1.0.0
Loading...
Searching...
No Matches
spdlog::details::os Namespace Reference

Functions

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

Function Documentation

◆ _thread_id()

SPDLOG_API size_t spdlog::details::os::_thread_id ( )

◆ create_dir()

SPDLOG_API bool spdlog::details::os::create_dir ( const filename_t path)

◆ dir_name()

SPDLOG_API filename_t spdlog::details::os::dir_name ( const filename_t path)

◆ filename_to_str()

SPDLOG_API std::string spdlog::details::os::filename_to_str ( const filename_t filename)

◆ filesize()

SPDLOG_API size_t spdlog::details::os::filesize ( FILE *  f)

◆ fopen_s()

SPDLOG_API bool spdlog::details::os::fopen_s ( FILE **  fp,
const filename_t filename,
const filename_t mode 
)

◆ fsync()

SPDLOG_API bool spdlog::details::os::fsync ( FILE *  fp)

◆ getenv()

SPDLOG_API std::string spdlog::details::os::getenv ( const char *  field)

◆ gmtime() [1/2]

SPDLOG_API std::tm spdlog::details::os::gmtime ( )

◆ gmtime() [2/2]

SPDLOG_API std::tm spdlog::details::os::gmtime ( const std::time_t &  time_tt)

◆ in_terminal()

SPDLOG_API bool spdlog::details::os::in_terminal ( FILE *  file)

◆ is_color_terminal()

SPDLOG_API bool spdlog::details::os::is_color_terminal ( )

◆ localtime() [1/2]

SPDLOG_API std::tm spdlog::details::os::localtime ( )

◆ localtime() [2/2]

SPDLOG_API std::tm spdlog::details::os::localtime ( const std::time_t &  time_tt)

◆ now()

SPDLOG_API spdlog::log_clock::time_point spdlog::details::os::now ( )

◆ path_exists()

SPDLOG_API bool spdlog::details::os::path_exists ( const filename_t filename)

◆ pid()

SPDLOG_API int spdlog::details::os::pid ( )

◆ remove()

SPDLOG_API int spdlog::details::os::remove ( const filename_t filename)

◆ remove_if_exists()

SPDLOG_API int spdlog::details::os::remove_if_exists ( const filename_t filename)

◆ rename()

SPDLOG_API int spdlog::details::os::rename ( const filename_t filename1,
const filename_t filename2 
)

◆ sleep_for_millis()

SPDLOG_API void spdlog::details::os::sleep_for_millis ( unsigned int  milliseconds)

◆ thread_id()

SPDLOG_API size_t spdlog::details::os::thread_id ( )

◆ utc_minutes_offset()

SPDLOG_API int spdlog::details::os::utc_minutes_offset ( const std::tm &  tm)