3 #define SKSE_MAKE_SOURCE_LOGGER(a_func, a_type) \
5 template <class... Args> \
6 struct [[maybe_unused]] a_func \
11 spdlog::format_string_t<Args...> a_fmt, \
13 std::source_location a_loc = std::source_location::current()) \
18 static_cast<int>(a_loc.line()), \
19 a_loc.function_name() }, \
20 spdlog::level::a_type, \
22 std::forward<Args>(a_args)...); \
26 template <class... Args> \
27 a_func(spdlog::format_string_t<Args...>, Args&&...) -> a_func<Args...>;
44 #undef SKSE_MAKE_SOURCE_LOGGER
std::optional< std::filesystem::path > log_directory()
void remove_papyrus_sink()
SKSE_MAKE_SOURCE_LOGGER(trace, trace)
void add_papyrus_sink(std::regex a_filter)