Commit 2ec7274a authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

Refine comment in logger

parent 7f0d5358
...@@ -21,8 +21,7 @@ namespace LightGBM { ...@@ -21,8 +21,7 @@ namespace LightGBM {
if ((pointer) == nullptr) LightGBM::Log::Fatal(#pointer " Can't be NULL"); if ((pointer) == nullptr) LightGBM::Log::Fatal(#pointer " Can't be NULL");
#endif #endif
// A enumeration type of log message levels. The values are ordered:
// Debug < Info < Error < Fatal.
enum class LogLevel: int { enum class LogLevel: int {
Fatal = -1, Fatal = -1,
Error = 0, Error = 0,
...@@ -32,9 +31,7 @@ enum class LogLevel: int { ...@@ -32,9 +31,7 @@ enum class LogLevel: int {
/*! /*!
* \brief The Log class is a static wrapper of a global Logger instance in * \brief A static Log class
* the scope of a process. Users can write logging messages easily
* with the static methods.
*/ */
class Log { class Log {
public: public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment