aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/log.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* logging: Minor refactoring, skip empty log messagesMartin Braun2018-01-231-75/+102
| | | | | | | Empty log messages are now skipped for faster processing. The 'terminating' log message is now also empty (and thus skipped). Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* logging: Fix version print at top of every UHD sessionMartin Braun2018-01-181-17/+21
|
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* log: Removed timeout from logger, replaced with wait.Martin Braun2017-05-231-2/+20
| | | | | This works because there's also another trace message on termination of the logger.
* log: Moved print_system_info to log.cpp.trungnob2017-05-201-0/+18
| | | | | We want to display syteminfo when the log system get initialized. Also removes a static block.
* log: Split add_logger() out of the main logging headerMartin Braun2017-05-121-0/+1
| | | | | This way, C++11 features are not required to build with UHD headers included.
* log: Fixed compiler warningMartin Braun2017-05-031-1/+1
|
* log: Allow logging to blockMartin Braun2017-04-241-1/+2
| | | | | | | | This means it's very unlikely that logging messages get dropped, but the downside is that LOG macros can block for up to 250 ms. This is very unlikely though. Note that fastpath logging does not have this feature. It's always fast, and might drop messages.
* log: Moved fastpath logging to its own threadMartin Braun2017-04-241-0/+49
|
* log: Fixed various issuesMartin Braun2017-04-221-33/+62
| | | | | | - Made the task a regular thread - Moved verbosity operator into lib - Minor comments and indents and so on
* log: Added more comments and manual pageMartin Braun2017-04-201-5/+17
|
* log: Fix missing add_logger, fix clearing of queueMartin Braun2017-04-201-2/+25
|
* utils: implement Ettus Logging APIAndrej Rode2017-04-201-143/+182
| | | | | | | | - allows adding new loggers by using add_logger API call - existing loggers (console, file) can be disabled easily - number of logging sinks is not limited Signed-off-by: Martin Braun <martin.braun@ettus.com>
* utils: add coloring depending on loglevel to console outputAndrej Rode2017-04-071-1/+36
|
* utils: provide fallback to previous loglevel on reading environment/definesAndrej Rode2017-02-231-9/+13
|
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-71/+147
|
* log: remove MSVC 2010 Boost bug workaroundNicholas Corgan2016-03-111-13/+1
|
* uhd: Switched lock_guards header to locks.hppMartin Braun2014-09-301-1/+1
|
* uhd: Fixed logging bug (#476) -- UHD logging has unexplained effect on ↵michael-west2014-09-241-31/+28
| | | | | | | packet loss. - Removed logging from radio_ctrl_core_3000 - Changed logging facility to prevent type conversion when message is not logged
* log: replaced usage of deprecated boost::filesystem functionNicholas Corgan2014-05-121-3/+3
|
* uhd: used shared get_tmp_path for logging as wellJosh Blum2012-05-161-44/+3
| | | | Moved some of the log.cpp tmp paths smarts into paths as well
* uhd: tweaks to log and msg implementationJosh Blum2011-06-011-23/+19
| | | | | | 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.
* uhd: init log file lock ptr to nullJosh Blum2011-05-131-0/+4
|
* uhd: work on logging and message facility initializationJosh Blum2011-05-131-53/+59
|
* Make log locking work with picky boostJason Abele2011-05-051-4/+5
|
* uhd: various tweaks to log and msg, replaced a few remaining stdioJosh Blum2011-05-041-1/+1
|
* uhd: removed more iostream stuff from usrp* implementationsJosh Blum2011-05-041-1/+2
|
* uhd: replaced warning post with calls to UHD_MSG(warning)Josh Blum2011-05-041-1/+1
| | | | | The message api can support warnings, error, and status messages. The default handler is to stdio, but the user can change this.
* uhd: added interprocess file lock to the logger fileJosh Blum2011-05-041-3/+30
|
* uhd: tweaks for logger file entriesJosh Blum2011-05-041-6/+21
|
* usrp: replaced conditional dboard debug prints w/ UHD_LOGV(often)Josh Blum2011-05-041-6/+0
|
* uhd: moved the logger into the utils subdirJosh Blum2011-05-041-0/+177