summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gnuradio/logger.h
Commit message (Collapse)AuthorAgeFilesLines
* runtime: Use <spdlog/fmt/fmt.h> header handling SPDLOG_FMT_EXTERNALRyan Volz2021-12-101-5/+1
| | | | | | | | | Regardless of how spdlog was built (with/without SPDLOG_FMT_EXTERNAL), this ensures that the proper fmt headers are included. This makes it so that fmt is not a required dependency when spdlog is built with SPDLOG_FMT_EXTERNAL=OFF. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* runtime: add workaround to #define disable logger headerJosh Morman2021-12-061-0/+13
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* logging core: replace log4cpp by spdlogMarcus Müller2021-11-191-656/+176
| | | | | | | | also: enable formerly disabled qa_logger tests This replaces log4cpp with spdlog. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* runtime: don't include boost/format.hpp in logger.hMarcus Müller2021-11-191-1/+0
| | | | | | this necessitates including it whenever it's used in-tree Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* runtime: Custom Buffer/Accelerator Device Support - Milestone 1David Sorber2021-10-251-1/+1
| | | | | | | | | | | | | | | Custom Buffer/Accelerator Device Support - Milestone 1 changes: * Refactored existing single mapped buffer code and created single mapped buffer abstraction; wrapping within single mapped buffers is handled explicitly by input blocked and output blocked callbacks that are called from block_executor * Added simple custom buffer allocation interface (NOTE: this interface will change for milestone 2) * Accelerated blocks are still responsible for data transfer but the custom buffer interface eliminates the double copy problem Signed-off-by: David Sorber <david.sorber@blacklynx.tech>
* gr: logger: Add logger_get_configured_logger()David Winter2021-07-021-0/+19
| | | | | | | | A helper method is added to gr/lib/logger.cc to facilitate the allocation of loggers which are automatically configured according to the local GNURadio configuration. Signed-off-by: David Winter <david.winter@analog.com>
* logger: move non-interface includes to buffer.ccMarcus Müller2021-06-171-8/+4
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* logging: remove <iostream> from logger.h, add where consequently missingMarcus Müller2021-06-171-1/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Replace boost::filesystem with std::filesystemZackery Spytz2021-03-131-1/+1
| | | | Signed-off-by: Zackery Spytz <zspytz@gmail.com>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-2/+2
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* runtime: make logger destructor publicJosh Morman2020-06-041-3/+2
|
* runtime: Remove most manual memory managementThomas Habets2020-04-111-2/+3
| | | | | | The remaining ones: * `pmt_pool.cc`, which is a memory allocator so that makes sense * the tricky and aptly named `sptr_magic.cc`.
* Update license header to SPDX formatdevnulling2020-01-271-14/+2
|
* Fix all formatting issuesMartin Braun2020-01-101-63/+63
| | | | | This fixes every leftover file in the GNU Radio source tree to match our clang-format definition.
* logging: (msg) to avoid logged statement taken apart by operator precedenceMarcus Müller2020-01-061-22/+22
| | | | | | | | | | Oldie but a goldie: Macro containing logger << "something " << msg << "\n"; will happily break code in hard-to-understand ways, since `<<` has higher precedence than binary, comparison and logical operators.
* clang-format: Ordering all the includesMarcus Müller2019-08-091-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-464/+533
|
* Fix for misc. documentation + trivial typosluz.paz2019-07-171-1/+1
| | | | | | | | | | | | | Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk` Fix typos in gnuradio-runtime/ Fix typos in gr-digital/ Fix typos in gr-qtgui/ Fix typos in gr-channels/ Fix typos in grc/ Fix typos gr-filter/ Fix typos in gr-uhd/ Fix typos in gr-blocks/ Fix typos in gr-fec/
* logger: remove duplicate semicolon after macro invocationAndrej Rode2018-11-121-5/+5
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-311-1/+1
|
* Merge branch 'master' into nextMartin Braun2018-02-031-8/+8
|
* Merge branch 'master' into nextJohnathan Corgan2017-05-091-1/+0
|
* gr-logger: Removed unused function calls causing MSVC build failuregnieboer2016-11-181-26/+0
|
* gr-runtime: fixed incorrect type for mode_t in loggergnieboer2016-11-181-1/+1
|
* cmake: remove ENABLE_GR_LOG and require log4cppJohnathan Corgan2016-06-261-0/+717