#include "opc/spdlog/common.h"
#include <cstdio>
#include <ctime>
#include <functional>
#include <string>
#include <chrono>
#include <thread>
#include <algorithm>
#include <cstring>
#include <cstdlib>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
Go to the source code of this file.
Namespaces | |
spdlog | |
spdlog::details | |
spdlog::details::os | |
Macros | |
#define | __has_feature(x) 0 |
#define | SPDLOG_EOL "\n" |
#define | SPDLOG_FILENAME_T(s) s |
Functions | |
size_t | spdlog::details::os::_thread_id () |
std::string | spdlog::details::os::errno_str (int err_num) |
std::string | spdlog::details::os::errno_to_string (char[256], char *res) |
std::string | spdlog::details::os::errno_to_string (char buf[256], int res) |
bool | spdlog::details::os::file_exists (const filename_t &filename) |
std::string | spdlog::details::os::filename_to_str (const filename_t &filename) |
size_t | spdlog::details::os::filesize (FILE *f) |
int | spdlog::details::os::fopen_s (FILE **fp, const filename_t &filename, const filename_t &mode) |
std::tm | spdlog::details::os::gmtime (const std::time_t &time_tt) |
std::tm | spdlog::details::os::gmtime () |
bool | spdlog::details::os::in_terminal (FILE *file) |
bool | spdlog::details::os::is_color_terminal () |
std::tm | spdlog::details::os::localtime (const std::time_t &time_tt) |
std::tm | spdlog::details::os::localtime () |
spdlog::log_clock::time_point | spdlog::details::os::now () |
bool | spdlog::details::os::operator!= (const std::tm &tm1, const std::tm &tm2) |
bool | spdlog::details::os::operator== (const std::tm &tm1, const std::tm &tm2) |
int | spdlog::details::os::pid () |
void | spdlog::details::os::prevent_child_fd (FILE *f) |
int | spdlog::details::os::remove (const filename_t &filename) |
int | spdlog::details::os::rename (const filename_t &filename1, const filename_t &filename2) |
size_t | spdlog::details::os::thread_id () |
int | spdlog::details::os::utc_minutes_offset (const std::tm &tm=details::os::localtime()) |
Variables | |
static SPDLOG_CONSTEXPR const char * | spdlog::details::os::eol = SPDLOG_EOL |
static SPDLOG_CONSTEXPR int | spdlog::details::os::eol_size = sizeof(SPDLOG_EOL) - 1 |