Skip to content

Commit

Permalink
Update logger-inl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime authored Sep 28, 2020
1 parent 23cb1a1 commit c8dc318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/logger-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ SPDLOG_INLINE void logger::err_handler_(const std::string &msg)
std::strftime(date_buf, sizeof(date_buf), "%Y-%m-%d %H:%M:%S", &tm_time);
#if !defined(R_R_H) || !defined(USING_R)
std::fprintf(stderr, "[*** LOG ERROR #%04zu ***] [%s] [%s] {%s}\n", err_counter, date_buf, name().c_str(), msg.c_str());
#else // compiled under R environment
#else // compiled in R environment
REprintf("[*** LOG ERROR #%04zu ***] [%s] [%s] {%s}\n", err_counter, date_buf, name().c_str(), msg.c_str());
#endif
}
Expand Down

0 comments on commit c8dc318

Please sign in to comment.