diff options
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/CMakeLists.txt | 1 | ||||
-rw-r--r-- | host/include/uhd/utils/CMakeLists.txt | 1 | ||||
-rw-r--r-- | host/include/uhd/utils/log.hpp (renamed from host/include/uhd/log.hpp) | 10 |
3 files changed, 8 insertions, 4 deletions
diff --git a/host/include/uhd/CMakeLists.txt b/host/include/uhd/CMakeLists.txt index dca32089e..74dc4a7d6 100644 --- a/host/include/uhd/CMakeLists.txt +++ b/host/include/uhd/CMakeLists.txt @@ -26,7 +26,6 @@ INSTALL(FILES convert.hpp device.hpp exception.hpp - log.hpp version.hpp wax.hpp DESTINATION ${INCLUDE_DIR}/uhd diff --git a/host/include/uhd/utils/CMakeLists.txt b/host/include/uhd/utils/CMakeLists.txt index 71808ac98..6c507dcde 100644 --- a/host/include/uhd/utils/CMakeLists.txt +++ b/host/include/uhd/utils/CMakeLists.txt @@ -23,6 +23,7 @@ INSTALL(FILES byteswap.ipp gain_group.hpp images.hpp + log.hpp pimpl.hpp props.hpp safe_call.hpp diff --git a/host/include/uhd/log.hpp b/host/include/uhd/utils/log.hpp index ff9dfe239..75c335099 100644 --- a/host/include/uhd/log.hpp +++ b/host/include/uhd/utils/log.hpp @@ -15,8 +15,8 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // -#ifndef INCLUDED_UHD_LOG_HPP -#define INCLUDED_UHD_LOG_HPP +#ifndef INCLUDED_UHD_UTILS_LOG_HPP +#define INCLUDED_UHD_UTILS_LOG_HPP #include <uhd/config.hpp> #include <boost/current_function.hpp> @@ -30,6 +30,10 @@ * Log entries are time-stamped and stored with file, line, and function. * Each call to the UHD_LOG macros is synchronous and thread-safe. * + * The log file can be found in the path <temp-directory>/uhd.log, + * where <temp-directory> is the user or system's temporary directory. + * To override <temp-directory>, set the UHD_TEMP_PATH environment variable. + * * All log messages with verbosity greater than or equal to the log level * are recorded into the log file. All other messages are sent to null. * @@ -88,4 +92,4 @@ namespace uhd{ namespace _log{ }} //namespace uhd::_log -#endif /* INCLUDED_UHD_LOG_HPP */ +#endif /* INCLUDED_UHD_UTILS_LOG_HPP */ |