diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 7173f1ca..fc4ae1f5 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -22,9 +22,9 @@ namespace spdlog { using default_factory = synchronous_factory; -void set_context(std::shared_ptr context); -std::shared_ptr context(); -const std::shared_ptr &context_ref(); +SPDLOG_API void set_context(std::shared_ptr context); +SPDLOG_API std::shared_ptr context(); +SPDLOG_API const std::shared_ptr &context_ref(); // Create a logger with a templated sink type // Example: