diff --git a/include/dmlc/logging.h b/include/dmlc/logging.h index eb75268ea..0fd6996d1 100644 --- a/include/dmlc/logging.h +++ b/include/dmlc/logging.h @@ -42,6 +42,10 @@ struct Error : public std::runtime_error { #include namespace dmlc { +/*! + * \brief optionally redirect to google's init log + * \param argv0 The arguments. + */ inline void InitLogging(const char* argv0) { google::InitGoogleLogging(argv0); }