aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-04 12:18:11 -0700
committerJosh Blum <josh@joshknows.com>2011-05-04 14:34:42 -0700
commit8426a72bd66850ed1311ee8957dc5b7e4d98e301 (patch)
tree4526c2cdd4eec056fe0917f1b1853d7d074e022c /host/include
parent0ac4fe4e10093b1c7bd59af5c795b5a56d49e452 (diff)
downloaduhd-8426a72bd66850ed1311ee8957dc5b7e4d98e301.tar.gz
uhd-8426a72bd66850ed1311ee8957dc5b7e4d98e301.tar.bz2
uhd-8426a72bd66850ed1311ee8957dc5b7e4d98e301.zip
uhd: moved the logger into the utils subdir
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/CMakeLists.txt1
-rw-r--r--host/include/uhd/utils/CMakeLists.txt1
-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 */