#pragma once #include #include namespace logging { struct logpacket; } namespace logging { namespace detail { class thread_info_helper { public: static void set_name(std::string const & name); std::string thread_id() const; std::string thread_name() const; }; class calling_class_helper { private: size_t max_components_; public: calling_class_helper(size_t max_components = 0) : max_components_(max_components) {} std::vector full_name(logpacket const & lp) const; std::string full_name(logpacket const & lp, std::string const & join) const; }; class time_elapsed_helper { private: long long created_; public: time_elapsed_helper(); std::string elapsed(logpacket const & packet) const; }; }}