Commit graph

17 commits

Author SHA1 Message Date
Andrej Rode
21aad77c9c utils: introduce new logging API and remove msg API 2017-02-20 17:13:15 -08:00
Nicholas Corgan
b634fbcfa1 log: remove MSVC 2010 Boost bug workaround 2016-03-11 09:47:00 -08:00
Martin Braun
c6c2f14d84 uhd: Switched lock_guards header to locks.hpp 2014-09-30 09:35:57 -07:00
michael-west
fa0313652c uhd: Fixed logging bug (#476) -- UHD logging has unexplained effect on packet loss.
- Removed logging from radio_ctrl_core_3000
- Changed logging facility to prevent type conversion when message is not logged
2014-09-24 17:36:04 -07:00
Nicholas Corgan
468e7f35af log: replaced usage of deprecated boost::filesystem function 2014-05-12 07:18:45 -07:00
Josh Blum
8d5dc71d64 uhd: used shared get_tmp_path for logging as well
Moved some of the log.cpp tmp paths smarts into paths as well
2012-05-16 10:59:09 -07:00
Josh Blum
19ecd43340 uhd: tweaks to log and msg implementation
The implementations now contain the string stream in each instance.
This way there is not a global stringstream to lock access to.
This resolves the issue of nested log calls locking condition.
2011-06-01 13:57:25 -07:00
Josh Blum
5b03ad6473 uhd: init log file lock ptr to null 2011-05-13 12:48:36 -07:00
Josh Blum
853d8121af uhd: work on logging and message facility initialization 2011-05-13 12:41:35 -07:00
Jason Abele
a7927ae951 Make log locking work with picky boost 2011-05-05 15:35:03 -07:00
Josh Blum
9734a74366 uhd: various tweaks to log and msg, replaced a few remaining stdio 2011-05-04 20:40:36 -07:00
Josh Blum
09be0518ce uhd: removed more iostream stuff from usrp* implementations 2011-05-04 19:53:01 -07:00
Josh Blum
7f01386f63 uhd: replaced warning post with calls to UHD_MSG(warning)
The message api can support warnings, error, and status messages.
The default handler is to stdio, but the user can change this.
2011-05-04 18:36:10 -07:00
Josh Blum
e71d2833fb uhd: added interprocess file lock to the logger file 2011-05-04 17:01:41 -07:00
Josh Blum
9439906271 uhd: tweaks for logger file entries 2011-05-04 14:34:57 -07:00
Josh Blum
0de4f165e9 usrp: replaced conditional dboard debug prints w/ UHD_LOGV(often) 2011-05-04 14:34:49 -07:00
Josh Blum
8426a72bd6 uhd: moved the logger into the utils subdir 2011-05-04 14:34:42 -07:00
Renamed from host/lib/log.cpp (Browse further)