This is a fork of spdlog v1.8.5 compatible with OpenEnclave.
The only modifications to the repo are:
- In
/include/spdlog/details/os-inl.h:86we replace any calls tolocaltime(not supported by OpenEnclave) withgmtime. This means that all reported times are in UTC. - We modify the
in_terminal(FILE *file)function defined in/include/spdlog/details/os.hto always returnfalseto avoid calling the unsupportedisattyfunction.
Additionally the following compiler flags need to be set:
SPDLOG_NO_THREAD_IDFMT_USE_INT128=0
This ensures that only supported syscalls/library functions are used.