From 906285ac058d873714a52140bfb2a059cb7417f2 Mon Sep 17 00:00:00 2001 From: Marek Blaha Date: Thu, 24 Aug 2023 08:50:02 +0200 Subject: [PATCH] logger: Deprecate default logfile name I believe API users, and not the library, should be responsible for setting log file name. --- include/libdnf5/logger/factory.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libdnf5/logger/factory.hpp b/include/libdnf5/logger/factory.hpp index eaa407be8..0f1a93dd7 100644 --- a/include/libdnf5/logger/factory.hpp +++ b/include/libdnf5/logger/factory.hpp @@ -28,8 +28,10 @@ along with libdnf. If not, see . namespace libdnf5 { // File logger destination filename. +/// @deprecated The filename should be set by API user. constexpr const char * FILE_LOGGER_FILENAME = "dnf5.log"; +/// @deprecated It is going to be removed. /// @brief Helper method for creating a file logger. /// @param base Reference to Base for loading the configured logger path. /// @return Instance of a new file logger.