diff --git a/src/date_time_format_parser.cpp b/src/date_time_format_parser.cpp index c9f6037..d7af7cd 100644 --- a/src/date_time_format_parser.cpp +++ b/src/date_time_format_parser.cpp @@ -344,7 +344,7 @@ inline void parse_format(const CharT* begin, const CharT* end, ParserT& parser, //! Parses the date format string and invokes the callback object template< typename CharT > -void parse_date_format(const CharT* begin, const CharT* end, date_format_parser_callback< CharT >& callback) +BOOST_LOG_API void parse_date_format(const CharT* begin, const CharT* end, date_format_parser_callback< CharT >& callback) { typedef CharT char_type; typedef date_format_parser_callback< char_type > callback_type; @@ -354,7 +354,7 @@ void parse_date_format(const CharT* begin, const CharT* end, date_format_parser_ //! Parses the time format string and invokes the callback object template< typename CharT > -void parse_time_format(const CharT* begin, const CharT* end, time_format_parser_callback< CharT >& callback) +BOOST_LOG_API void parse_time_format(const CharT* begin, const CharT* end, time_format_parser_callback< CharT >& callback) { typedef CharT char_type; typedef time_format_parser_callback< char_type > callback_type; @@ -364,7 +364,7 @@ void parse_time_format(const CharT* begin, const CharT* end, time_format_parser_ //! Parses the date and time format string and invokes the callback object template< typename CharT > -void parse_date_time_format(const CharT* begin, const CharT* end, date_time_format_parser_callback< CharT >& callback) +BOOST_LOG_API void parse_date_time_format(const CharT* begin, const CharT* end, date_time_format_parser_callback< CharT >& callback) { typedef CharT char_type; typedef date_time_format_parser_callback< char_type > callback_type; @@ -373,7 +373,7 @@ void parse_date_time_format(const CharT* begin, const CharT* end, date_time_form } template< typename CharT > -void put_integer(std::basic_string< CharT >& str, uint32_t value, unsigned int width, CharT fill_char) +BOOST_LOG_API void put_integer(std::basic_string< CharT >& str, uint32_t value, unsigned int width, CharT fill_char) { typedef CharT char_type; char_type buf[std::numeric_limits< uint32_t >::digits10 + 2]; diff --git a/src/filter_parser.cpp b/src/filter_parser.cpp index fc7c1e6..d46c5df 100644 --- a/src/filter_parser.cpp +++ b/src/filter_parser.cpp @@ -475,7 +475,7 @@ private: //! The function registers a filter factory object for the specified attribute name template< typename CharT > -void register_filter_factory(attribute_name const& name, shared_ptr< filter_factory< CharT > > const& factory) +BOOST_LOG_SETUP_API void register_filter_factory(attribute_name const& name, shared_ptr< filter_factory< CharT > > const& factory) { BOOST_ASSERT(!!name); BOOST_ASSERT(!!factory); @@ -488,7 +488,7 @@ void register_filter_factory(attribute_name const& name, shared_ptr< filter_fact //! The function parses a filter from the string template< typename CharT > -filter parse_filter(const CharT* begin, const CharT* end) +BOOST_LOG_SETUP_API filter parse_filter(const CharT* begin, const CharT* end) { typedef CharT char_type; typedef log::aux::encoding_specific< typename log::aux::encoding< char_type >::type > encoding_specific; diff --git a/src/format_parser.cpp b/src/format_parser.cpp index d1375ba..587b1d8 100644 --- a/src/format_parser.cpp +++ b/src/format_parser.cpp @@ -36,7 +36,7 @@ BOOST_LOG_OPEN_NAMESPACE namespace aux { template< typename CharT > -format_description< CharT > parse_format(const CharT* begin, const CharT* end) +BOOST_LOG_API format_description< CharT > parse_format(const CharT* begin, const CharT* end) { typedef CharT char_type; typedef format_description< char_type > description; diff --git a/src/formatter_parser.cpp b/src/formatter_parser.cpp index 26f56eb..0b40545 100644 --- a/src/formatter_parser.cpp +++ b/src/formatter_parser.cpp @@ -433,7 +433,7 @@ private: //! The function registers a user-defined formatter factory template< typename CharT > -void register_formatter_factory(attribute_name const& name, shared_ptr< formatter_factory< CharT > > const& factory) +BOOST_LOG_SETUP_API void register_formatter_factory(attribute_name const& name, shared_ptr< formatter_factory< CharT > > const& factory) { BOOST_ASSERT(!!name); BOOST_ASSERT(!!factory); @@ -445,7 +445,7 @@ void register_formatter_factory(attribute_name const& name, shared_ptr< formatte //! The function parses a formatter from the string template< typename CharT > -basic_formatter< CharT > parse_formatter(const CharT* begin, const CharT* end) +BOOST_LOG_SETUP_API basic_formatter< CharT > parse_formatter(const CharT* begin, const CharT* end) { typedef CharT char_type; diff --git a/src/init_from_settings.cpp b/src/init_from_settings.cpp index fdd5457..a0f5e81 100644 --- a/src/init_from_settings.cpp +++ b/src/init_from_settings.cpp @@ -777,7 +777,7 @@ void apply_core_settings(basic_settings_section< CharT > const& params) //! The function initializes the logging library from a settings container template< typename CharT > -void init_from_settings(basic_settings_section< CharT > const& setts) +BOOST_LOG_SETUP_API void init_from_settings(basic_settings_section< CharT > const& setts) { typedef basic_settings_section< CharT > section; typedef typename section::char_type char_type; @@ -812,7 +812,7 @@ void init_from_settings(basic_settings_section< CharT > const& setts) //! The function registers a factory for a sink template< typename CharT > -void register_sink_factory(const char* sink_name, shared_ptr< sink_factory< CharT > > const& factory) +BOOST_LOG_SETUP_API void register_sink_factory(const char* sink_name, shared_ptr< sink_factory< CharT > > const& factory) { sinks_repository< CharT >& repo = sinks_repository< CharT >::get(); BOOST_LOG_EXPR_IF_MT(lock_guard< log::aux::light_rw_mutex > lock(repo.m_Mutex);) diff --git a/src/init_from_stream.cpp b/src/init_from_stream.cpp index 73f7b3d..b73a54f 100644 --- a/src/init_from_stream.cpp +++ b/src/init_from_stream.cpp @@ -26,7 +26,7 @@ BOOST_LOG_OPEN_NAMESPACE //! The function initializes the logging library from a stream containing logging settings template< typename CharT > -void init_from_stream(std::basic_istream< CharT >& strm) +BOOST_LOG_SETUP_API void init_from_stream(std::basic_istream< CharT >& strm) { init_from_settings(parse_settings(strm)); } diff --git a/src/process_id.cpp b/src/process_id.cpp index 02fbfdf..291ab79 100644 --- a/src/process_id.cpp +++ b/src/process_id.cpp @@ -89,7 +89,7 @@ BOOST_LOG_OPEN_NAMESPACE namespace aux { template< typename CharT, typename TraitsT > -std::basic_ostream< CharT, TraitsT >& +BOOST_LOG_API std::basic_ostream< CharT, TraitsT >& operator<< (std::basic_ostream< CharT, TraitsT >& strm, process::id const& pid) { if (strm.good()) diff --git a/src/settings_parser.cpp b/src/settings_parser.cpp index b875f08..ffc9d77 100644 --- a/src/settings_parser.cpp +++ b/src/settings_parser.cpp @@ -210,7 +210,7 @@ private: //! The function parses library settings from an input stream template< typename CharT > -basic_settings< CharT > parse_settings(std::basic_istream< CharT >& strm) +BOOST_LOG_SETUP_API basic_settings< CharT > parse_settings(std::basic_istream< CharT >& strm) { typedef CharT char_type; typedef std::basic_string< char_type > string_type; diff --git a/src/thread_id.cpp b/src/thread_id.cpp index cdd556f..a2125a5 100644 --- a/src/thread_id.cpp +++ b/src/thread_id.cpp @@ -240,7 +240,7 @@ void format_thread_id(char* buf, std::size_t size, thread::id tid) } template< typename CharT, typename TraitsT > -std::basic_ostream< CharT, TraitsT >& operator<< (std::basic_ostream< CharT, TraitsT >& strm, thread::id const& tid) +BOOST_LOG_API std::basic_ostream< CharT, TraitsT >& operator<< (std::basic_ostream< CharT, TraitsT >& strm, thread::id const& tid) { if (strm.good()) {