USRP Hardware Driver and Device Manual
Version: 4.11.0.0-0-unknown
UHD and USRP Manual
Loading...
Searching...
No Matches
log_add_impl.hpp
Go to the documentation of this file.
1
//
2
// Copyright 2017 Ettus Research (National Instruments Corp.)
3
//
4
// SPDX-License-Identifier: GPL-3.0-or-later
5
//
6
7
#pragma once
8
9
#include <
uhd/config.hpp
>
10
#include <
uhd/utils/log.hpp
>
11
#include <functional>
12
13
namespace
uhd
{
namespace
log
{
14
20
using
log_fn_t
= std::function<void(
const
uhd::log::detail::logging_info
&)>;
21
27
UHD_API
void
add_logger
(
const
std::string& key,
log_fn_t
logger_fn);
28
29
}}
/* namespace uhd::log */
UHD_API
#define UHD_API
Definition
config.h:87
config.hpp
log.hpp
uhd::log
Definition
log.hpp:113
uhd::log::log_fn_t
std::function< void(const uhd::log::detail::logging_info &)> log_fn_t
Definition
log_add_impl.hpp:20
uhd::log::add_logger
void add_logger(const std::string &key, log_fn_legacy_t logger_fn)
Definition
log_add.hpp:62
uhd
Definition
build_info.hpp:12
uhd::log::detail::logging_info
Definition
log.hpp:145
include
uhd
utils
log_add_impl.hpp
Generated by
1.18.0