27#ifndef G2O_LOGGER_FORMAT_H
28#define G2O_LOGGER_FORMAT_H
30#include "g2o/config.h"
32#ifdef G2O_HAVE_LOGGING
33#include <spdlog/fmt/fmt.h>
34#include <spdlog/fmt/ostr.h>
35#include <spdlog/fmt/ranges.h>
37#if FMT_VERSION >= 90000
44 T,
std::enable_if_t<std::is_base_of_v<Eigen::DenseBase<T>, T>, char>>
45 : fmt::ostream_formatter {};
47#if FMT_VERSION >= 110000
50struct fmt::range_format_kind<
51 T, char,
std::enable_if_t<std::is_base_of_v<Eigen::DenseBase<T>, T>>>
52 : std::integral_constant<fmt::range_format, fmt::range_format::disabled> {};