lib/log: fully remove log backtrace prints

Patch (922d90c8) removed backtrace printing.

Some of API was leftover in header files,
so this patch removes them.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ieb2069e707dee2a196f0cecc283064661a0ae9a9
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3953
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Tomasz Zawadzki 2020-08-27 06:42:11 -04:00
parent b2c86b35db
commit cb6151c357
2 changed files with 0 additions and 21 deletions

View File

@ -95,26 +95,6 @@ void spdk_log_set_level(enum spdk_log_level level);
*/
enum spdk_log_level spdk_log_get_level(void);
/**
* Set the log level threshold to include stack trace in log messages.
* Messages with a higher level than this will not contain stack trace. You
* can use \c SPDK_LOG_DISABLED to completely disable stack trace printing
* even if it is supported.
*
* \note This function has no effect if SPDK is built without stack trace
* printing support.
*
* \param level Log level threshold for stacktrace.
*/
void spdk_log_set_backtrace_level(enum spdk_log_level level);
/**
* Get the current log level threshold for showing stack trace in log message.
*
* \return the current log level threshold for stack trace.
*/
enum spdk_log_level spdk_log_get_backtrace_level(void);
/**
* Set the current log level threshold for printing to stderr.
* Messages with a level less than or equal to this level

View File

@ -44,7 +44,6 @@
extern enum spdk_log_level g_spdk_log_level;
extern enum spdk_log_level g_spdk_log_print_level;
extern enum spdk_log_level g_spdk_log_backtrace_level;
struct spdk_log_flag {
TAILQ_ENTRY(spdk_log_flag) tailq;