MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getLogger

Method getLogger

src/backend/common/cast.hpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67template<typename To, typename Ti>
68struct CastWrapper {
69 static spdlog::logger *getLogger() noexcept {
70 static std::shared_ptr<spdlog::logger> logger =
71 common::loggerFactory("ast");
72 return logger.get();
73 }
74
75 detail::Array<To> operator()(const detail::Array<Ti> &in) {
76 using detail::jit::UnaryNode;

Callers

nothing calls this directly

Calls 2

loggerFactoryFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected