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:
parent
b2c86b35db
commit
cb6151c357
@ -95,26 +95,6 @@ void spdk_log_set_level(enum spdk_log_level level);
|
|||||||
*/
|
*/
|
||||||
enum spdk_log_level spdk_log_get_level(void);
|
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.
|
* Set the current log level threshold for printing to stderr.
|
||||||
* Messages with a level less than or equal to this level
|
* Messages with a level less than or equal to this level
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
|
|
||||||
extern enum spdk_log_level g_spdk_log_level;
|
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_print_level;
|
||||||
extern enum spdk_log_level g_spdk_log_backtrace_level;
|
|
||||||
|
|
||||||
struct spdk_log_flag {
|
struct spdk_log_flag {
|
||||||
TAILQ_ENTRY(spdk_log_flag) tailq;
|
TAILQ_ENTRY(spdk_log_flag) tailq;
|
||||||
|
Loading…
Reference in New Issue
Block a user