| 127 | // Fall back to the atomic shared_ptr free functions on standard libraries |
| 128 | // that have not implemented std::atomic<std::shared_ptr> (notably libc++). |
| 129 | |
| 130 | inline std::shared_ptr<Logger>& logger_instance() { |
| 131 | static std::shared_ptr<Logger> instance = std::make_shared<ConsoleLogger>(); |
| 132 | return instance; |
| 133 | } |
| 134 |
no test coverage detected