diff --git a/src/logger.cpp b/src/logger.cpp index 1e64f2af..18317532 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -95,8 +95,7 @@ bool logger::should_flush_(const details::log_msg &msg) { char date_buf[64]; std::strftime(date_buf, sizeof(date_buf), "%Y-%m-%d %H:%M:%S", &tm_time); #if defined(USING_R) && defined(R_R_H) // if in R environment - REprintf("[*** LOG ERROR ***] [%s] [%s] %s\n", date_buf, name().c_str(), - msg.c_str()); + REprintf("[*** LOG ERROR ***] [%s] [%s] %s\n", date_buf, name().c_str(), msg.c_str()); #else std::fprintf(stderr, "[*** LOG ERROR ***] [%s] [%s] %s\n", date_buf, name().c_str(), msg.c_str());