Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero committed Sep 26, 2024
1 parent 02a63f8 commit 76c5ae9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/log/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ int main(int argc, char** argv)
std::filesystem::path logDir = std::filesystem::temp_directory_path();
std::filesystem::path logFile = "my_log.txt";
std::filesystem::path logPath = logDir / logFile;

logger.SetLogDestination(logPath);

SPDLOG_LOGGER_TRACE(logger.RawLoggerPtr(), "trace\n");
Expand Down

0 comments on commit 76c5ae9

Please sign in to comment.