mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
clang-format
This commit is contained in:
@@ -24,9 +24,15 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#define SPDLOG_LOGGER_CATCH() \
|
||||
catch (const std::exception &ex) { err_handler_(ex.what());} \
|
||||
catch (...) {err_handler_("Unknown exception in logger");}
|
||||
#define SPDLOG_LOGGER_CATCH() \
|
||||
catch (const std::exception &ex) \
|
||||
{ \
|
||||
err_handler_(ex.what()); \
|
||||
} \
|
||||
catch (...) \
|
||||
{ \
|
||||
err_handler_("Unknown exception in logger"); \
|
||||
}
|
||||
|
||||
namespace spdlog {
|
||||
class logger
|
||||
|
Reference in New Issue
Block a user