Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
2ec7274a
Commit
2ec7274a
authored
Oct 22, 2016
by
Guolin Ke
Committed by
GitHub
Oct 22, 2016
Browse files
Refine comment in logger
parent
7f0d5358
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
include/LightGBM/utils/log.h
include/LightGBM/utils/log.h
+2
-5
No files found.
include/LightGBM/utils/log.h
View file @
2ec7274a
...
...
@@ -21,8 +21,7 @@ namespace LightGBM {
if ((pointer) == nullptr) LightGBM::Log::Fatal(#pointer " Can't be NULL");
#endif
// A enumeration type of log message levels. The values are ordered:
// Debug < Info < Error < Fatal.
enum
class
LogLevel
:
int
{
Fatal
=
-
1
,
Error
=
0
,
...
...
@@ -32,9 +31,7 @@ enum class LogLevel: int {
/*!
* \brief The Log class is a static wrapper of a global Logger instance in
* the scope of a process. Users can write logging messages easily
* with the static methods.
* \brief A static Log class
*/
class
Log
{
public:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment