Dev test (#6)
* #feat 增强Fatal级别的底色,修改logging类的方法 * 更新版本号 * 加入test脚本 * fix:conanfile * test action
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
project(Logging)
|
||||
project(logging)
|
||||
|
||||
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRC)
|
||||
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/handler SRC)
|
||||
|
||||
@@ -9,16 +9,15 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#define RED "\033[0;31m"
|
||||
#define RED_B "\033[0;41m"
|
||||
#define GREEN "\033[0;32m"
|
||||
#define YELLOW "\033[0;33m"
|
||||
#define BLUE "\033[0;34m"
|
||||
#define RESET "\033[0m"
|
||||
#define CYAN "\033[0;36m"
|
||||
#define MAGENTA "\033[0;35m"
|
||||
#define WHITE "\033[0;37m"
|
||||
#define BLACK "\033[0;30m"
|
||||
|
||||
#define RED "\033[0;31m"
|
||||
#define RED_B "\033[0;41m"
|
||||
#define GREEN "\033[0;32m"
|
||||
#define YELLOW "\033[0;33m"
|
||||
#define BLUE "\033[0;34m"
|
||||
#define RESET "\033[0m"
|
||||
#define CYAN "\033[0;36m"
|
||||
|
||||
|
||||
#define LOG_BUFFER_SIZE 1024
|
||||
|
||||
|
||||
Reference in New Issue
Block a user