spdlog
Loading...
Searching...
No Matches
Macros | Functions
test_file_logging.cpp File Reference

Go to the source code of this file.

#include "includes.h"

Macros

#define SIMPLE_LOG   "test_logs/simple_log"
 
#define ROTATING_LOG   "test_logs/rotating_log"
 

Functions

 TEST_CASE ("simple_file_logger", "[simple_logger]]")
 
 TEST_CASE ("flush_on", "[flush_on]]")
 
 TEST_CASE ("rotating_file_logger1", "[rotating_logger]]")
 
 TEST_CASE ("rotating_file_logger2", "[rotating_logger]]")
 

Macro Definition Documentation

◆ ROTATING_LOG

#define ROTATING_LOG   "test_logs/rotating_log"

Definition at line 7 of file test_file_logging.cpp.

◆ SIMPLE_LOG

#define SIMPLE_LOG   "test_logs/simple_log"

Definition at line 6 of file test_file_logging.cpp.

Function Documentation

◆ TEST_CASE() [1/4]

TEST_CASE ( "flush_on"  ,
"]"  [flush_on] 
)

Definition at line 26 of file test_file_logging.cpp.

◆ TEST_CASE() [2/4]

TEST_CASE ( "rotating_file_logger1"  ,
"]"  [rotating_logger] 
)

Definition at line 47 of file test_file_logging.cpp.

◆ TEST_CASE() [3/4]

TEST_CASE ( "rotating_file_logger2"  ,
"]"  [rotating_logger] 
)

Definition at line 63 of file test_file_logging.cpp.

◆ TEST_CASE() [4/4]

TEST_CASE ( "simple_file_logger"  ,
"]"  [simple_logger] 
)

Definition at line 9 of file test_file_logging.cpp.