mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
Fix example
This commit is contained in:
parent
2c1d97f1ad
commit
6683418983
@ -89,7 +89,7 @@ void stdout_logger_example()
|
|||||||
void basic_example()
|
void basic_example()
|
||||||
{
|
{
|
||||||
// Create basic file logger (not rotated).
|
// Create basic file logger (not rotated).
|
||||||
auto my_logger = spdlog::basic_logger_mt("file_logger", "lodgs/basic-log.txt");
|
auto my_logger = spdlog::basic_logger_mt("file_logger", "logs/basic-log.txt");
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "spdlog/sinks/rotating_file_sink.h"
|
#include "spdlog/sinks/rotating_file_sink.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user