|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
Packit Service |
50ad14 |
<head>
|
|
Packit Service |
50ad14 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
Packit Service |
50ad14 |
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
Packit Service |
50ad14 |
<title>libkeymap: src/libkeymap/keymap/logging.h File Reference</title>
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
Packit Service |
50ad14 |
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
</head>
|
|
Packit Service |
50ad14 |
<body>
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
libkeymap
|
|
Packit Service |
50ad14 |
2.0.3
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Library to manage the Linux keymaps
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Main Page
|
|
Packit Service |
50ad14 |
Data Structures
|
|
Packit Service |
50ad14 |
Files
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
File List
|
|
Packit Service |
50ad14 |
Globals
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Defines |
|
|
Packit Service |
50ad14 |
Functions
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
src/libkeymap/keymap/logging.h File Reference
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Functions for logging.
|
|
Packit Service |
50ad14 |
More...
|
|
Packit Service |
50ad14 |
#include <syslog.h>
|
|
Packit Service |
50ad14 |
#include <keymap/context.h>
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Go to the source code of this file.
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Defines
|
|
Packit Service |
50ad14 |
#define lk_log_cond(ctx, level, arg...)
|
|
Packit Service |
50ad14 |
#define DBG(ctx, arg...) lk_log_cond(ctx, LOG_DEBUG, ## arg)
|
|
Packit Service |
50ad14 |
#define INFO(ctx, arg...) lk_log_cond(ctx, LOG_INFO, ## arg)
|
|
Packit Service |
50ad14 |
#define WARN(ctx, arg...) lk_log_cond(ctx, LOG_WARNING, ## arg)
|
|
Packit Service |
50ad14 |
#define ERR(ctx, arg...) lk_log_cond(ctx, LOG_ERR, ## arg)
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Functions
|
|
Packit Service |
50ad14 |
void lk_log (struct lk_ctx *ctx, int priority, const char *file, int line, const char *fn, const char *fmt,...)
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Detailed Description
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Define Documentation
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
#define lk_log_cond
|
|
Packit Service |
50ad14 |
(
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
ctx,
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
level,
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
arg...
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
)
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Value:
|
|
Packit Service |
50ad14 |
if (ctx->log_priority >= level) \
|
|
Packit Service |
50ad14 |
lk_log(ctx, level, __FILE__, __LINE__, __func__, ## arg);\
|
|
Packit Service |
50ad14 |
} while (0)
|