Skip to content

Commit f3e706e

Browse files
committed
Removed useless comments
1 parent 166d6e1 commit f3e706e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/Core/logging.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ typedef enum {
1313
LOG_LEVEL_ERROR // Due to a more serious problem, the program has not been able to perform a function
1414
} LogLevel;
1515

16-
// Global log level (can be set at runtime)
1716
extern LogLevel g_log_level;
1817

1918
/**
@@ -35,7 +34,6 @@ void set_log_level(LogLevel level);
3534
*/
3635
void log_message(LogLevel level, const char *file, int line, const char *func, const char *format, ...);
3736

38-
// Logging macros
3937
#define LOG_DEBUG(format, ...) \
4038
log_message(LOG_LEVEL_DEBUG, __FILE__, __LINE__, __func__, format, ##__VA_ARGS__)
4139

@@ -48,4 +46,4 @@ void log_message(LogLevel level, const char *file, int line, const char *func, c
4846
#define LOG_ERROR(format, ...) \
4947
log_message(LOG_LEVEL_ERROR, __FILE__, __LINE__, __func__, format, ##__VA_ARGS__)
5048

51-
#endif // C_ML_LOGGING_H
49+
#endif

0 commit comments

Comments
 (0)