Livox SDK API  V2.2.0
logger_impl.h File Reference
#include "spdlog/details/fmt_helper.h"
#include <memory>
#include <string>

Go to the source code of this file.

Macros

#define SPDLOG_CATCH_AND_HANDLE
 

Macro Definition Documentation

#define SPDLOG_CATCH_AND_HANDLE
Value:
catch (const std::exception &ex) \
{ \
err_handler_(ex.what()); \
} \
catch (...) \
{ \
err_handler_("Unknown exception in logger"); \
}

Definition at line 13 of file logger_impl.h.